vpc

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

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

REST implements rest.Storage for VPC Inventory.

func NewREST

func NewREST(cloudInventory inventory.Interface, l logger.Logger) *REST

NewREST returns a REST object that will work against API services.

func (*REST) ConvertToTable

func (r *REST) ConvertToTable(_ context.Context, obj runtime.Object, _ runtime.Object) (*metav1.Table, error)

func (*REST) Destroy

func (r *REST) Destroy()

func (*REST) Get

func (r *REST) Get(ctx context.Context, name string, _ *metav1.GetOptions) (runtime.Object, error)

func (*REST) List

func (r *REST) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)

List returns a list of object based on Namespace and filtered by labels and field selectors.

func (*REST) NamespaceScoped

func (r *REST) NamespaceScoped() bool

func (*REST) New

func (r *REST) New() runtime.Object

func (*REST) NewList

func (r *REST) NewList() runtime.Object

func (*REST) Watch

func (r *REST) Watch(ctx context.Context, options *internalversion.ListOptions) (watch.Interface, error)

Jump to

Keyboard shortcuts

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