Documentation ¶
Index ¶
- Constants
- func IsNone(kind string) bool
- type AccessSpec
- func (s *AccessSpec) AccessMethod(access accspeccpi.ComponentVersionAccess) (accspeccpi.AccessMethod, error)
- func (a *AccessSpec) Describe(ctx accspeccpi.Context) string
- func (s *AccessSpec) GetMimeType() string
- func (s *AccessSpec) GlobalAccessSpec(ctx accspeccpi.Context) accspeccpi.AccessSpec
- func (s *AccessSpec) IsLocal(context accspeccpi.Context) bool
Constants ¶
View Source
const ( Type = compdesc.NoneType TypeV1 = Type + runtime.VersionSeparator + "v1" LegacyType = compdesc.NoneLegacyType )
Type is the access type for no blob.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessSpec ¶
type AccessSpec struct {
runtime.ObjectVersionedType `json:",inline"`
}
AccessSpec describes the access for a oci registry.
func (*AccessSpec) AccessMethod ¶
func (s *AccessSpec) AccessMethod(access accspeccpi.ComponentVersionAccess) (accspeccpi.AccessMethod, error)
func (*AccessSpec) Describe ¶
func (a *AccessSpec) Describe(ctx accspeccpi.Context) string
func (*AccessSpec) GetMimeType ¶
func (s *AccessSpec) GetMimeType() string
func (*AccessSpec) GlobalAccessSpec ¶ added in v0.3.0
func (s *AccessSpec) GlobalAccessSpec(ctx accspeccpi.Context) accspeccpi.AccessSpec
func (*AccessSpec) IsLocal ¶
func (s *AccessSpec) IsLocal(context accspeccpi.Context) bool
Click to show internal directories.
Click to hide internal directories.