v1beta2

package
v0.0.0-...-c402a22 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "apps"
	Version   = "v1beta2"
)

Variables

View Source
var (
	DaemonSetGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "DaemonSet",
	}
	DaemonSetResource = metav1.APIResource{
		Name:         "daemonsets",
		SingularName: "daemonset",
		Namespaced:   true,

		Kind: DaemonSetGroupVersionKind.Kind,
	}

	DaemonSetGroupVersionResource = schema.GroupVersionResource{
		Group:    GroupName,
		Version:  Version,
		Resource: "daemonsets",
	}
)
View Source
var (
	DeploymentGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "Deployment",
	}
	DeploymentResource = metav1.APIResource{
		Name:         "deployments",
		SingularName: "deployment",
		Namespaced:   true,

		Kind: DeploymentGroupVersionKind.Kind,
	}

	DeploymentGroupVersionResource = schema.GroupVersionResource{
		Group:    GroupName,
		Version:  Version,
		Resource: "deployments",
	}
)
View Source
var (
	ReplicaSetGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "ReplicaSet",
	}
	ReplicaSetResource = metav1.APIResource{
		Name:         "replicasets",
		SingularName: "replicaset",
		Namespaced:   true,

		Kind: ReplicaSetGroupVersionKind.Kind,
	}

	ReplicaSetGroupVersionResource = schema.GroupVersionResource{
		Group:    GroupName,
		Version:  Version,
		Resource: "replicasets",
	}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	StatefulSetGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "StatefulSet",
	}
	StatefulSetResource = metav1.APIResource{
		Name:         "statefulsets",
		SingularName: "statefulset",
		Namespaced:   true,

		Kind: StatefulSetGroupVersionKind.Kind,
	}

	StatefulSetGroupVersionResource = schema.GroupVersionResource{
		Group:    GroupName,
		Version:  Version,
		Resource: "statefulsets",
	}
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Factory

func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func NewDaemonSet

func NewDaemonSet(namespace, name string, obj v1beta2.DaemonSet) *v1beta2.DaemonSet

func NewDeployment

func NewDeployment(namespace, name string, obj v1beta2.Deployment) *v1beta2.Deployment

func NewReplicaSet

func NewReplicaSet(namespace, name string, obj v1beta2.ReplicaSet) *v1beta2.ReplicaSet

func NewStatefulSet

func NewStatefulSet(namespace, name string, obj v1beta2.StatefulSet) *v1beta2.StatefulSet

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) DaemonSets

func (c *Client) DaemonSets(namespace string) DaemonSetInterface

func (*Client) Deployments

func (c *Client) Deployments(namespace string) DeploymentInterface

func (*Client) RESTClient

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

func (*Client) ReplicaSets

func (c *Client) ReplicaSets(namespace string) ReplicaSetInterface

func (*Client) Start

func (c *Client) Start(ctx context.Context, threadiness int) error

func (*Client) StatefulSets

func (c *Client) StatefulSets(namespace string) StatefulSetInterface

func (*Client) Sync

func (c *Client) Sync(ctx context.Context) error

type Clients

type Clients struct {
	Interface Interface

	Deployment  DeploymentClient
	DaemonSet   DaemonSetClient
	StatefulSet StatefulSetClient
	ReplicaSet  ReplicaSetClient
}

func ClientsFrom

func ClientsFrom(ctx context.Context) *Clients

func NewClients

func NewClients(config rest.Config) (*Clients, error)

func NewClientsFromInterface

func NewClientsFromInterface(iface Interface) *Clients

type DaemonSetChangeHandlerFunc

type DaemonSetChangeHandlerFunc func(obj *v1beta2.DaemonSet) (runtime.Object, error)

type DaemonSetClient

type DaemonSetClient interface {
	Create(*v1beta2.DaemonSet) (*v1beta2.DaemonSet, error)
	Get(namespace, name string, opts metav1.GetOptions) (*v1beta2.DaemonSet, error)
	Update(*v1beta2.DaemonSet) (*v1beta2.DaemonSet, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	List(namespace string, opts metav1.ListOptions) (*DaemonSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)

	Cache() DaemonSetClientCache

	OnCreate(ctx context.Context, name string, sync DaemonSetChangeHandlerFunc)
	OnChange(ctx context.Context, name string, sync DaemonSetChangeHandlerFunc)
	OnRemove(ctx context.Context, name string, sync DaemonSetChangeHandlerFunc)
	Enqueue(namespace, name string)

	Generic() controller.GenericController
	ObjectClient() *objectclient.ObjectClient
	Interface() DaemonSetInterface
}

type DaemonSetClientCache

type DaemonSetClientCache interface {
	Get(namespace, name string) (*v1beta2.DaemonSet, error)
	List(namespace string, selector labels.Selector) ([]*v1beta2.DaemonSet, error)

	Index(name string, indexer DaemonSetIndexer)
	GetIndexed(name, key string) ([]*v1beta2.DaemonSet, error)
}

type DaemonSetController

type DaemonSetController interface {
	Generic() controller.GenericController
	Informer() cache.SharedIndexInformer
	Lister() DaemonSetLister
	AddHandler(ctx context.Context, name string, handler DaemonSetHandlerFunc)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler DaemonSetHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type DaemonSetHandlerFunc

type DaemonSetHandlerFunc func(key string, obj *v1beta2.DaemonSet) (runtime.Object, error)

func NewDaemonSetLifecycleAdapter

func NewDaemonSetLifecycleAdapter(name string, clusterScoped bool, client DaemonSetInterface, l DaemonSetLifecycle) DaemonSetHandlerFunc

type DaemonSetIndexer

type DaemonSetIndexer func(obj *v1beta2.DaemonSet) ([]string, error)

type DaemonSetInterface

type DaemonSetInterface interface {
	ObjectClient() *objectclient.ObjectClient
	Create(*v1beta2.DaemonSet) (*v1beta2.DaemonSet, error)
	GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta2.DaemonSet, error)
	Get(name string, opts metav1.GetOptions) (*v1beta2.DaemonSet, error)
	Update(*v1beta2.DaemonSet) (*v1beta2.DaemonSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*DaemonSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() DaemonSetController
	AddHandler(ctx context.Context, name string, sync DaemonSetHandlerFunc)
	AddLifecycle(ctx context.Context, name string, lifecycle DaemonSetLifecycle)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync DaemonSetHandlerFunc)
	AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle DaemonSetLifecycle)
}

type DaemonSetLifecycle

type DaemonSetLifecycle interface {
	Create(obj *v1beta2.DaemonSet) (runtime.Object, error)
	Remove(obj *v1beta2.DaemonSet) (runtime.Object, error)
	Updated(obj *v1beta2.DaemonSet) (runtime.Object, error)
}

type DaemonSetList

type DaemonSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []v1beta2.DaemonSet `json:"items"`
}

func (*DaemonSetList) DeepCopy

func (in *DaemonSetList) DeepCopy() *DaemonSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DaemonSetList.

func (*DaemonSetList) DeepCopyInto

func (in *DaemonSetList) DeepCopyInto(out *DaemonSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DaemonSetList) DeepCopyObject

func (in *DaemonSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DaemonSetLister

type DaemonSetLister interface {
	List(namespace string, selector labels.Selector) (ret []*v1beta2.DaemonSet, err error)
	Get(namespace, name string) (*v1beta2.DaemonSet, error)
}

type DaemonSetsGetter

type DaemonSetsGetter interface {
	DaemonSets(namespace string) DaemonSetInterface
}

type DeploymentChangeHandlerFunc

type DeploymentChangeHandlerFunc func(obj *v1beta2.Deployment) (runtime.Object, error)

type DeploymentClient

type DeploymentClient interface {
	Create(*v1beta2.Deployment) (*v1beta2.Deployment, error)
	Get(namespace, name string, opts metav1.GetOptions) (*v1beta2.Deployment, error)
	Update(*v1beta2.Deployment) (*v1beta2.Deployment, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	List(namespace string, opts metav1.ListOptions) (*DeploymentList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)

	Cache() DeploymentClientCache

	OnCreate(ctx context.Context, name string, sync DeploymentChangeHandlerFunc)
	OnChange(ctx context.Context, name string, sync DeploymentChangeHandlerFunc)
	OnRemove(ctx context.Context, name string, sync DeploymentChangeHandlerFunc)
	Enqueue(namespace, name string)

	Generic() controller.GenericController
	ObjectClient() *objectclient.ObjectClient
	Interface() DeploymentInterface
}

type DeploymentClientCache

type DeploymentClientCache interface {
	Get(namespace, name string) (*v1beta2.Deployment, error)
	List(namespace string, selector labels.Selector) ([]*v1beta2.Deployment, error)

	Index(name string, indexer DeploymentIndexer)
	GetIndexed(name, key string) ([]*v1beta2.Deployment, error)
}

type DeploymentController

type DeploymentController interface {
	Generic() controller.GenericController
	Informer() cache.SharedIndexInformer
	Lister() DeploymentLister
	AddHandler(ctx context.Context, name string, handler DeploymentHandlerFunc)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler DeploymentHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type DeploymentHandlerFunc

type DeploymentHandlerFunc func(key string, obj *v1beta2.Deployment) (runtime.Object, error)

func NewDeploymentLifecycleAdapter

func NewDeploymentLifecycleAdapter(name string, clusterScoped bool, client DeploymentInterface, l DeploymentLifecycle) DeploymentHandlerFunc

type DeploymentIndexer

type DeploymentIndexer func(obj *v1beta2.Deployment) ([]string, error)

type DeploymentInterface

type DeploymentInterface interface {
	ObjectClient() *objectclient.ObjectClient
	Create(*v1beta2.Deployment) (*v1beta2.Deployment, error)
	GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta2.Deployment, error)
	Get(name string, opts metav1.GetOptions) (*v1beta2.Deployment, error)
	Update(*v1beta2.Deployment) (*v1beta2.Deployment, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*DeploymentList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() DeploymentController
	AddHandler(ctx context.Context, name string, sync DeploymentHandlerFunc)
	AddLifecycle(ctx context.Context, name string, lifecycle DeploymentLifecycle)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync DeploymentHandlerFunc)
	AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle DeploymentLifecycle)
}

type DeploymentLifecycle

type DeploymentLifecycle interface {
	Create(obj *v1beta2.Deployment) (runtime.Object, error)
	Remove(obj *v1beta2.Deployment) (runtime.Object, error)
	Updated(obj *v1beta2.Deployment) (runtime.Object, error)
}

type DeploymentList

type DeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []v1beta2.Deployment `json:"items"`
}

func (*DeploymentList) DeepCopy

func (in *DeploymentList) DeepCopy() *DeploymentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentList.

func (*DeploymentList) DeepCopyInto

func (in *DeploymentList) DeepCopyInto(out *DeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DeploymentList) DeepCopyObject

func (in *DeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DeploymentLister

type DeploymentLister interface {
	List(namespace string, selector labels.Selector) (ret []*v1beta2.Deployment, err error)
	Get(namespace, name string) (*v1beta2.Deployment, error)
}

type DeploymentsGetter

type DeploymentsGetter interface {
	Deployments(namespace string) DeploymentInterface
}

type Interface

func From

func From(ctx context.Context) Interface

func NewForConfig

func NewForConfig(config rest.Config) (Interface, error)

type ReplicaSetChangeHandlerFunc

type ReplicaSetChangeHandlerFunc func(obj *v1beta2.ReplicaSet) (runtime.Object, error)

type ReplicaSetClient

type ReplicaSetClient interface {
	Create(*v1beta2.ReplicaSet) (*v1beta2.ReplicaSet, error)
	Get(namespace, name string, opts metav1.GetOptions) (*v1beta2.ReplicaSet, error)
	Update(*v1beta2.ReplicaSet) (*v1beta2.ReplicaSet, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	List(namespace string, opts metav1.ListOptions) (*ReplicaSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)

	Cache() ReplicaSetClientCache

	OnCreate(ctx context.Context, name string, sync ReplicaSetChangeHandlerFunc)
	OnChange(ctx context.Context, name string, sync ReplicaSetChangeHandlerFunc)
	OnRemove(ctx context.Context, name string, sync ReplicaSetChangeHandlerFunc)
	Enqueue(namespace, name string)

	Generic() controller.GenericController
	ObjectClient() *objectclient.ObjectClient
	Interface() ReplicaSetInterface
}

type ReplicaSetClientCache

type ReplicaSetClientCache interface {
	Get(namespace, name string) (*v1beta2.ReplicaSet, error)
	List(namespace string, selector labels.Selector) ([]*v1beta2.ReplicaSet, error)

	Index(name string, indexer ReplicaSetIndexer)
	GetIndexed(name, key string) ([]*v1beta2.ReplicaSet, error)
}

type ReplicaSetController

type ReplicaSetController interface {
	Generic() controller.GenericController
	Informer() cache.SharedIndexInformer
	Lister() ReplicaSetLister
	AddHandler(ctx context.Context, name string, handler ReplicaSetHandlerFunc)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ReplicaSetHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ReplicaSetHandlerFunc

type ReplicaSetHandlerFunc func(key string, obj *v1beta2.ReplicaSet) (runtime.Object, error)

func NewReplicaSetLifecycleAdapter

func NewReplicaSetLifecycleAdapter(name string, clusterScoped bool, client ReplicaSetInterface, l ReplicaSetLifecycle) ReplicaSetHandlerFunc

type ReplicaSetIndexer

type ReplicaSetIndexer func(obj *v1beta2.ReplicaSet) ([]string, error)

type ReplicaSetInterface

type ReplicaSetInterface interface {
	ObjectClient() *objectclient.ObjectClient
	Create(*v1beta2.ReplicaSet) (*v1beta2.ReplicaSet, error)
	GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta2.ReplicaSet, error)
	Get(name string, opts metav1.GetOptions) (*v1beta2.ReplicaSet, error)
	Update(*v1beta2.ReplicaSet) (*v1beta2.ReplicaSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*ReplicaSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() ReplicaSetController
	AddHandler(ctx context.Context, name string, sync ReplicaSetHandlerFunc)
	AddLifecycle(ctx context.Context, name string, lifecycle ReplicaSetLifecycle)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ReplicaSetHandlerFunc)
	AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ReplicaSetLifecycle)
}

type ReplicaSetLifecycle

type ReplicaSetLifecycle interface {
	Create(obj *v1beta2.ReplicaSet) (runtime.Object, error)
	Remove(obj *v1beta2.ReplicaSet) (runtime.Object, error)
	Updated(obj *v1beta2.ReplicaSet) (runtime.Object, error)
}

type ReplicaSetList

type ReplicaSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []v1beta2.ReplicaSet `json:"items"`
}

func (*ReplicaSetList) DeepCopy

func (in *ReplicaSetList) DeepCopy() *ReplicaSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetList.

func (*ReplicaSetList) DeepCopyInto

func (in *ReplicaSetList) DeepCopyInto(out *ReplicaSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ReplicaSetList) DeepCopyObject

func (in *ReplicaSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ReplicaSetLister

type ReplicaSetLister interface {
	List(namespace string, selector labels.Selector) (ret []*v1beta2.ReplicaSet, err error)
	Get(namespace, name string) (*v1beta2.ReplicaSet, error)
}

type ReplicaSetsGetter

type ReplicaSetsGetter interface {
	ReplicaSets(namespace string) ReplicaSetInterface
}

type StatefulSetChangeHandlerFunc

type StatefulSetChangeHandlerFunc func(obj *v1beta2.StatefulSet) (runtime.Object, error)

type StatefulSetClient

type StatefulSetClient interface {
	Create(*v1beta2.StatefulSet) (*v1beta2.StatefulSet, error)
	Get(namespace, name string, opts metav1.GetOptions) (*v1beta2.StatefulSet, error)
	Update(*v1beta2.StatefulSet) (*v1beta2.StatefulSet, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	List(namespace string, opts metav1.ListOptions) (*StatefulSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)

	Cache() StatefulSetClientCache

	OnCreate(ctx context.Context, name string, sync StatefulSetChangeHandlerFunc)
	OnChange(ctx context.Context, name string, sync StatefulSetChangeHandlerFunc)
	OnRemove(ctx context.Context, name string, sync StatefulSetChangeHandlerFunc)
	Enqueue(namespace, name string)

	Generic() controller.GenericController
	ObjectClient() *objectclient.ObjectClient
	Interface() StatefulSetInterface
}

type StatefulSetClientCache

type StatefulSetClientCache interface {
	Get(namespace, name string) (*v1beta2.StatefulSet, error)
	List(namespace string, selector labels.Selector) ([]*v1beta2.StatefulSet, error)

	Index(name string, indexer StatefulSetIndexer)
	GetIndexed(name, key string) ([]*v1beta2.StatefulSet, error)
}

type StatefulSetController

type StatefulSetController interface {
	Generic() controller.GenericController
	Informer() cache.SharedIndexInformer
	Lister() StatefulSetLister
	AddHandler(ctx context.Context, name string, handler StatefulSetHandlerFunc)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler StatefulSetHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type StatefulSetHandlerFunc

type StatefulSetHandlerFunc func(key string, obj *v1beta2.StatefulSet) (runtime.Object, error)

func NewStatefulSetLifecycleAdapter

func NewStatefulSetLifecycleAdapter(name string, clusterScoped bool, client StatefulSetInterface, l StatefulSetLifecycle) StatefulSetHandlerFunc

type StatefulSetIndexer

type StatefulSetIndexer func(obj *v1beta2.StatefulSet) ([]string, error)

type StatefulSetInterface

type StatefulSetInterface interface {
	ObjectClient() *objectclient.ObjectClient
	Create(*v1beta2.StatefulSet) (*v1beta2.StatefulSet, error)
	GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1beta2.StatefulSet, error)
	Get(name string, opts metav1.GetOptions) (*v1beta2.StatefulSet, error)
	Update(*v1beta2.StatefulSet) (*v1beta2.StatefulSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*StatefulSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() StatefulSetController
	AddHandler(ctx context.Context, name string, sync StatefulSetHandlerFunc)
	AddLifecycle(ctx context.Context, name string, lifecycle StatefulSetLifecycle)
	AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync StatefulSetHandlerFunc)
	AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle StatefulSetLifecycle)
}

type StatefulSetLifecycle

type StatefulSetLifecycle interface {
	Create(obj *v1beta2.StatefulSet) (runtime.Object, error)
	Remove(obj *v1beta2.StatefulSet) (runtime.Object, error)
	Updated(obj *v1beta2.StatefulSet) (runtime.Object, error)
}

type StatefulSetList

type StatefulSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []v1beta2.StatefulSet `json:"items"`
}

func (*StatefulSetList) DeepCopy

func (in *StatefulSetList) DeepCopy() *StatefulSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatefulSetList.

func (*StatefulSetList) DeepCopyInto

func (in *StatefulSetList) DeepCopyInto(out *StatefulSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StatefulSetList) DeepCopyObject

func (in *StatefulSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StatefulSetLister

type StatefulSetLister interface {
	List(namespace string, selector labels.Selector) (ret []*v1beta2.StatefulSet, err error)
	Get(namespace, name string) (*v1beta2.StatefulSet, error)
}

type StatefulSetsGetter

type StatefulSetsGetter interface {
	StatefulSets(namespace string) StatefulSetInterface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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