storage

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogoStorage

type LogoStorage struct {
	// contains filtered or unexported fields
}

LogoStorage implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource

func NewLogoStorage

func NewLogoStorage(groupResource schema.GroupResource, prov provider.PackageManifestProvider) *LogoStorage

NewLogoStorage returns struct which implements Kubernetes methods needed to provide the `packagemanifests/icon` subresource

func (*LogoStorage) Connect

func (s *LogoStorage) Connect(ctx context.Context, name string, options runtime.Object, responder rest.Responder) (http.Handler, error)

Connect satisfies the Connector interface and returns the image icon file for a given `PackageManifest`

func (*LogoStorage) ConnectMethods

func (s *LogoStorage) ConnectMethods() []string

ConnectMethods satisfies the Connector interface

func (*LogoStorage) Destroy added in v0.23.0

func (s *LogoStorage) Destroy()

Destroy satisfies the Storage interface Performs a no-op

func (*LogoStorage) New

func (s *LogoStorage) New() runtime.Object

New satisfies the Storage interface

func (*LogoStorage) NewConnectOptions

func (s *LogoStorage) NewConnectOptions() (runtime.Object, bool, string)

NewConnectOptions satisfies the Connector interface

func (*LogoStorage) ProducesMIMETypes

func (s *LogoStorage) ProducesMIMETypes(verb string) []string

ProducesMIMETypes satisfies the StorageMetadata interface and returns the supported icon image file types

func (*LogoStorage) ProducesObject

func (s *LogoStorage) ProducesObject(verb string) interface{}

ProducesObject satisfies the StorageMetadata interface

type PackageManifestStorage

type PackageManifestStorage struct {
	rest.TableConvertor
	// contains filtered or unexported fields
}

func NewStorage

NewStorage returns a struct that implements methods needed for Kubernetes to satisfy API requests for the `PackageManifest` resource

func (*PackageManifestStorage) Destroy added in v0.23.0

func (m *PackageManifestStorage) Destroy()

Destroy satisfies the Storage interface Performs a no-op

func (*PackageManifestStorage) Get

Get satisfies the Getter interface

func (*PackageManifestStorage) Kind

func (m *PackageManifestStorage) Kind() string

Kind satisfies the KindProvider interface

func (*PackageManifestStorage) List

List satisfies part of the Lister interface

func (*PackageManifestStorage) NamespaceScoped

func (m *PackageManifestStorage) NamespaceScoped() bool

NamespaceScoped satisfies the Scoper interface

func (*PackageManifestStorage) New

New satisfies the Storage interface

func (*PackageManifestStorage) NewList

func (m *PackageManifestStorage) NewList() runtime.Object

NewList satisfies part of the Lister interface

Jump to

Keyboard shortcuts

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