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.
Click to show internal directories.
Click to hide internal directories.