v1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 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 CloudProviderExpansion

type CloudProviderExpansion interface{}

type CloudProviderInterface

type CloudProviderInterface interface {
	Create(ctx context.Context, cloudProvider *v1.CloudProvider, opts metav1.CreateOptions) (*v1.CloudProvider, error)
	Update(ctx context.Context, cloudProvider *v1.CloudProvider, opts metav1.UpdateOptions) (*v1.CloudProvider, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CloudProvider, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CloudProviderList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CloudProvider, err error)
	CloudProviderExpansion
}

CloudProviderInterface has methods to work with CloudProvider resources.

type CloudProvidersGetter

type CloudProvidersGetter interface {
	CloudProviders() CloudProviderInterface
}

CloudProvidersGetter has a method to return a CloudProviderInterface. A group's client should implement this interface.

type CloudV1Client

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

CloudV1Client is used to interact with features provided by the cloud.pharmer.io group.

func New

New creates a new CloudV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CloudV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CloudV1Client

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

func (*CloudV1Client) CloudProviders

func (c *CloudV1Client) CloudProviders() CloudProviderInterface

func (*CloudV1Client) CredentialFormats

func (c *CloudV1Client) CredentialFormats() CredentialFormatInterface

func (*CloudV1Client) Credentials

func (c *CloudV1Client) Credentials() CredentialInterface

func (*CloudV1Client) KubernetesVersions

func (c *CloudV1Client) KubernetesVersions() KubernetesVersionInterface

func (*CloudV1Client) MachineTypes

func (c *CloudV1Client) MachineTypes() MachineTypeInterface

func (*CloudV1Client) RESTClient

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

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

type CredentialExpansion

type CredentialExpansion interface{}

type CredentialFormatExpansion

type CredentialFormatExpansion interface{}

type CredentialFormatInterface

type CredentialFormatInterface interface {
	Create(ctx context.Context, credentialFormat *v1.CredentialFormat, opts metav1.CreateOptions) (*v1.CredentialFormat, error)
	Update(ctx context.Context, credentialFormat *v1.CredentialFormat, opts metav1.UpdateOptions) (*v1.CredentialFormat, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.CredentialFormat, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CredentialFormatList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CredentialFormat, err error)
	CredentialFormatExpansion
}

CredentialFormatInterface has methods to work with CredentialFormat resources.

type CredentialFormatsGetter

type CredentialFormatsGetter interface {
	CredentialFormats() CredentialFormatInterface
}

CredentialFormatsGetter has a method to return a CredentialFormatInterface. A group's client should implement this interface.

type CredentialInterface

type CredentialInterface interface {
	Create(ctx context.Context, credential *v1.Credential, opts metav1.CreateOptions) (*v1.Credential, error)
	Update(ctx context.Context, credential *v1.Credential, opts metav1.UpdateOptions) (*v1.Credential, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Credential, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.CredentialList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Credential, err error)
	CredentialExpansion
}

CredentialInterface has methods to work with Credential resources.

type CredentialsGetter

type CredentialsGetter interface {
	Credentials() CredentialInterface
}

CredentialsGetter has a method to return a CredentialInterface. A group's client should implement this interface.

type KubernetesVersionExpansion

type KubernetesVersionExpansion interface{}

type KubernetesVersionInterface

type KubernetesVersionInterface interface {
	Create(ctx context.Context, kubernetesVersion *v1.KubernetesVersion, opts metav1.CreateOptions) (*v1.KubernetesVersion, error)
	Update(ctx context.Context, kubernetesVersion *v1.KubernetesVersion, opts metav1.UpdateOptions) (*v1.KubernetesVersion, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.KubernetesVersion, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.KubernetesVersionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.KubernetesVersion, err error)
	KubernetesVersionExpansion
}

KubernetesVersionInterface has methods to work with KubernetesVersion resources.

type KubernetesVersionsGetter

type KubernetesVersionsGetter interface {
	KubernetesVersions() KubernetesVersionInterface
}

KubernetesVersionsGetter has a method to return a KubernetesVersionInterface. A group's client should implement this interface.

type MachineTypeExpansion

type MachineTypeExpansion interface{}

type MachineTypeInterface

type MachineTypeInterface interface {
	Create(ctx context.Context, machineType *v1.MachineType, opts metav1.CreateOptions) (*v1.MachineType, error)
	Update(ctx context.Context, machineType *v1.MachineType, opts metav1.UpdateOptions) (*v1.MachineType, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MachineType, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MachineTypeList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MachineType, err error)
	MachineTypeExpansion
}

MachineTypeInterface has methods to work with MachineType resources.

type MachineTypesGetter

type MachineTypesGetter interface {
	MachineTypes() MachineTypeInterface
}

MachineTypesGetter has a method to return a MachineTypeInterface. 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