common

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringResource

type StringResource struct {
	Registry string
}

StringResource is there to satisfy the github.com/google/go-containerregistry/pkg/authn.Resource interface. It merely wraps a given string and returns it for all of the interface's methods.

func (StringResource) RegistryStr

func (r StringResource) RegistryStr() string

RegistryStr returns the string representation of the registry resource. It converts the StringResource object to a string that represents the registry resource. The returned string can be used to interact with the registry resource.

func (StringResource) String

func (r StringResource) String() string

String returns a string representation of the StringResource. It converts the StringResource object to a string. The returned string contains the value of the StringResource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL