v1alpha1

package
v0.0.0-...-482d2b2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 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 K8sV1alpha1Client

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

K8sV1alpha1Client is used to interact with features provided by the k8s.atomix.io group.

func New

New creates a new K8sV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new K8sV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *K8sV1alpha1Client

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

func (*K8sV1alpha1Client) PartitionSets

func (c *K8sV1alpha1Client) PartitionSets(namespace string) PartitionSetInterface

func (*K8sV1alpha1Client) Partitions

func (c *K8sV1alpha1Client) Partitions(namespace string) PartitionInterface

func (*K8sV1alpha1Client) RESTClient

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

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

type K8sV1alpha1Interface

type K8sV1alpha1Interface interface {
	RESTClient() rest.Interface
	PartitionsGetter
	PartitionSetsGetter
}

type PartitionExpansion

type PartitionExpansion interface{}

type PartitionInterface

type PartitionInterface interface {
	Create(*v1alpha1.Partition) (*v1alpha1.Partition, error)
	Update(*v1alpha1.Partition) (*v1alpha1.Partition, error)
	UpdateStatus(*v1alpha1.Partition) (*v1alpha1.Partition, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Partition, error)
	List(opts v1.ListOptions) (*v1alpha1.PartitionList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Partition, err error)
	PartitionExpansion
}

PartitionInterface has methods to work with Partition resources.

type PartitionSetExpansion

type PartitionSetExpansion interface{}

type PartitionSetInterface

type PartitionSetInterface interface {
	Create(*v1alpha1.PartitionSet) (*v1alpha1.PartitionSet, error)
	Update(*v1alpha1.PartitionSet) (*v1alpha1.PartitionSet, error)
	UpdateStatus(*v1alpha1.PartitionSet) (*v1alpha1.PartitionSet, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.PartitionSet, error)
	List(opts v1.ListOptions) (*v1alpha1.PartitionSetList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PartitionSet, err error)
	PartitionSetExpansion
}

PartitionSetInterface has methods to work with PartitionSet resources.

type PartitionSetsGetter

type PartitionSetsGetter interface {
	PartitionSets(namespace string) PartitionSetInterface
}

PartitionSetsGetter has a method to return a PartitionSetInterface. A group's client should implement this interface.

type PartitionsGetter

type PartitionsGetter interface {
	Partitions(namespace string) PartitionInterface
}

PartitionsGetter has a method to return a PartitionInterface. A group's client should implement this interface.

Jump to

Keyboard shortcuts

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