migration

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRevisionInterface

type ControllerRevisionInterface interface {
	Create(*ketiv1.ControllerRevision) (*ketiv1.ControllerRevision, error)
	Update(*ketiv1.ControllerRevision) (*ketiv1.ControllerRevision, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.ControllerRevision, error)
	List(opts metav1.ListOptions) (*ketiv1.ControllerRevisionList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.ControllerRevision, err error)
}

ControllerRevisionInterface has methods to work with ControllerRevision resources.

type ControllerRevisionsGetter

type ControllerRevisionsGetter interface {
	ControllerRevisions(namespace string) ControllerRevisionInterface
}

ControllerRevisionsGetter has a method to return a ControllerRevisionInterface. A group's client should implement this interface.

type DaemonSetInterface

type DaemonSetInterface interface {
	Create(*ketiv1.DaemonSet) (*ketiv1.DaemonSet, error)
	Update(*ketiv1.DaemonSet) (*ketiv1.DaemonSet, error)
	UpdateStatus(*ketiv1.DaemonSet) (*ketiv1.DaemonSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.DaemonSet, error)
	List(opts metav1.ListOptions) (*ketiv1.DaemonSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.DaemonSet, err error)
}

DaemonSetInterface has methods to work with DaemonSet resources.

type DaemonSetsGetter

type DaemonSetsGetter interface {
	DaemonSets(namespace string) DaemonSetInterface
}

type DeploymentInterface

type DeploymentInterface interface {
	Create(*ketiv1.Deployment) (*ketiv1.Deployment, error)
	Update(*ketiv1.Deployment) (*ketiv1.Deployment, error)
	UpdateStatus(*ketiv1.Deployment) (*ketiv1.Deployment, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.Deployment, error)
	List(opts metav1.ListOptions) (*ketiv1.DeploymentList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.Deployment, err error)
}

DeploymentInterface has methods to work with Deployment resources.

type DeploymentsGetter

type DeploymentsGetter interface {
	Deployments(namespace string) DeploymentInterface
}

DeploymentsGetter has a method to return a DeploymentInterface. A group's client should implement this interface.

type MigrationV1Client

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

func NewForConfig

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

func (*MigrationV1Client) ControllerRevisions

func (c *MigrationV1Client) ControllerRevisions(namespace string) ControllerRevisionInterface

func (*MigrationV1Client) DaemonSets

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

func (*MigrationV1Client) Deployments

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

func (*MigrationV1Client) PodTemplates

func (c *MigrationV1Client) PodTemplates(namespace string) PodTemplateInterface

func (*MigrationV1Client) Pods

func (c *MigrationV1Client) Pods(namespace string) PodInterface

func (*MigrationV1Client) RESTClient

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

func (*MigrationV1Client) ReplicaSets

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

func (*MigrationV1Client) StatefulSets

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

type PodInterface

type PodInterface interface {
	Create(*ketiv1.Pod) (*ketiv1.Pod, error)
	Update(*ketiv1.Pod) (*ketiv1.Pod, error)
	UpdateStatus(*ketiv1.Pod) (*ketiv1.Pod, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.Pod, error)
	List(opts metav1.ListOptions) (*ketiv1.PodList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.Pod, err error)
	GetLogs(name string, opts *ketiv1.PodLogOptions) *rest.Request
}

PodInterface has methods to work with Pod resources.

type PodTemplateInterface

type PodTemplateInterface interface {
	Create(*ketiv1.PodTemplate) (*ketiv1.PodTemplate, error)
	Update(*ketiv1.PodTemplate) (*ketiv1.PodTemplate, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.PodTemplate, error)
	List(opts metav1.ListOptions) (*ketiv1.PodTemplateList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.PodTemplate, err error)
}

PodTemplateInterface has methods to work with PodTemplate resources.

type PodTemplatesGetter

type PodTemplatesGetter interface {
	PodTemplates(namespace string) PodTemplateInterface
}

PodTemplatesGetter has a method to return a PodTemplateInterface. A group's client should implement this interface.

type PodsGetter

type PodsGetter interface {
	Pods(namespace string) PodInterface
}

PodsGetter has a method to return a PodInterface. A group's client should implement this interface.

type ReplicaSetInterface

type ReplicaSetInterface interface {
	Create(*ketiv1.ReplicaSet) (*ketiv1.ReplicaSet, error)
	Update(*ketiv1.ReplicaSet) (*ketiv1.ReplicaSet, error)
	UpdateStatus(*ketiv1.ReplicaSet) (*ketiv1.ReplicaSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.ReplicaSet, error)
	List(opts metav1.ListOptions) (*ketiv1.ReplicaSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.ReplicaSet, err error)
}

ReplicaSetInterface has methods to work with ReplicaSet resources.

type ReplicaSetsGetter

type ReplicaSetsGetter interface {
	ReplicaSets(namespace string) ReplicaSetInterface
}

ReplicaSetsGetter has a method to return a ReplicaSetInterface. A group's client should implement this interface.

type StatefulSetInterface

type StatefulSetInterface interface {
	Create(*ketiv1.StatefulSet) (*ketiv1.StatefulSet, error)
	Update(*ketiv1.StatefulSet) (*ketiv1.StatefulSet, error)
	UpdateStatus(*ketiv1.StatefulSet) (*ketiv1.StatefulSet, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*ketiv1.StatefulSet, error)
	List(opts metav1.ListOptions) (*ketiv1.StatefulSetList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *ketiv1.StatefulSet, err error)
}

StatefulSetInterface has methods to work with StatefulSet resources.

type StatefulSetsGetter

type StatefulSetsGetter interface {
	StatefulSets(namespace string) StatefulSetInterface
}

StatefulSetsGetter has a method to return a StatefulSetInterface. 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