none

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type       = "none"
	TypeV1     = Type + runtime.VersionSeparator + "v1"
	LegacyType = "None"
)

Type is the access type for no blob.

Variables

This section is empty.

Functions

func IsNone

func IsNone(kind string) bool

Types

type AccessSpec

type AccessSpec struct {
	runtime.ObjectVersionedType `json:",inline"`
}

AccessSpec describes the access for a oci registry.

func New

func New() *AccessSpec

New creates a new OCIBlob accessor.

func (*AccessSpec) AccessMethod

func (s *AccessSpec) AccessMethod(access cpi.ComponentVersionAccess) (cpi.AccessMethod, error)

func (*AccessSpec) Describe

func (a *AccessSpec) Describe(ctx cpi.Context) string

func (*AccessSpec) GetInexpensiveContentVersionIdentity

func (s *AccessSpec) GetInexpensiveContentVersionIdentity(access cpi.ComponentVersionAccess) string

func (*AccessSpec) GetMimeType

func (s *AccessSpec) GetMimeType() string

func (*AccessSpec) GlobalAccessSpec

func (s *AccessSpec) GlobalAccessSpec(ctx cpi.Context) cpi.AccessSpec

func (*AccessSpec) IsLocal

func (s *AccessSpec) IsLocal(context cpi.Context) bool

Jump to

Keyboard shortcuts

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