keti

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 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 KetiV1Client

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

func NewForConfig

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

func (*KetiV1Client) ControllerRevisions

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

func (*KetiV1Client) DaemonSets

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

func (*KetiV1Client) Deployments

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

func (*KetiV1Client) PodTemplates

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

func (*KetiV1Client) Pods

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

func (*KetiV1Client) RESTClient

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

func (*KetiV1Client) ReplicaSets

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

func (*KetiV1Client) StatefulSets

func (c *KetiV1Client) 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