v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContentV1alpha1Client

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

ContentV1alpha1Client is used to interact with features provided by the content.vsphere.kubeform.com group.

func New

New creates a new ContentV1alpha1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*ContentV1alpha1Client, error)

NewForConfig creates a new ContentV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *ContentV1alpha1Client

NewForConfigOrDie creates a new ContentV1alpha1Client for the given config and panics if there is an error in the config.

func (*ContentV1alpha1Client) Libraries

func (c *ContentV1alpha1Client) Libraries(namespace string) LibraryInterface

func (*ContentV1alpha1Client) LibraryItems

func (c *ContentV1alpha1Client) LibraryItems(namespace string) LibraryItemInterface

func (*ContentV1alpha1Client) RESTClient

func (c *ContentV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type ContentV1alpha1Interface

type ContentV1alpha1Interface interface {
	RESTClient() rest.Interface
	LibrariesGetter
	LibraryItemsGetter
}

type LibrariesGetter

type LibrariesGetter interface {
	Libraries(namespace string) LibraryInterface
}

LibrariesGetter has a method to return a LibraryInterface. A group's client should implement this interface.

type LibraryExpansion

type LibraryExpansion interface{}

type LibraryInterface

type LibraryInterface interface {
	Create(ctx context.Context, library *v1alpha1.Library, opts v1.CreateOptions) (*v1alpha1.Library, error)
	Update(ctx context.Context, library *v1alpha1.Library, opts v1.UpdateOptions) (*v1alpha1.Library, error)
	UpdateStatus(ctx context.Context, library *v1alpha1.Library, opts v1.UpdateOptions) (*v1alpha1.Library, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Library, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LibraryList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Library, err error)
	LibraryExpansion
}

LibraryInterface has methods to work with Library resources.

type LibraryItemExpansion

type LibraryItemExpansion interface{}

type LibraryItemInterface

type LibraryItemInterface interface {
	Create(ctx context.Context, libraryItem *v1alpha1.LibraryItem, opts v1.CreateOptions) (*v1alpha1.LibraryItem, error)
	Update(ctx context.Context, libraryItem *v1alpha1.LibraryItem, opts v1.UpdateOptions) (*v1alpha1.LibraryItem, error)
	UpdateStatus(ctx context.Context, libraryItem *v1alpha1.LibraryItem, opts v1.UpdateOptions) (*v1alpha1.LibraryItem, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.LibraryItem, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.LibraryItemList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LibraryItem, err error)
	LibraryItemExpansion
}

LibraryItemInterface has methods to work with LibraryItem resources.

type LibraryItemsGetter

type LibraryItemsGetter interface {
	LibraryItems(namespace string) LibraryItemInterface
}

LibraryItemsGetter has a method to return a LibraryItemInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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