Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) ComponentStatuses(namespace string) ComponentStatusInterface
- func (c *Client) Nodes(namespace string) NodeInterface
- func (c *Client) Pods(namespace string) PodInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) Secrets(namespace string) SecretInterface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- type ComponentStatusController
- type ComponentStatusHandlerFunc
- type ComponentStatusInterface
- type ComponentStatusList
- type ComponentStatusLister
- type ComponentStatusesGetter
- type Interface
- type NodeController
- type NodeHandlerFunc
- type NodeInterface
- type NodeList
- type NodeLister
- type NodesGetter
- type PodController
- type PodHandlerFunc
- type PodInterface
- type PodList
- type PodLister
- type PodsGetter
- type SecretController
- type SecretHandlerFunc
- type SecretInterface
- type SecretList
- type SecretLister
- type SecretsGetter
Constants ¶
This section is empty.
Variables ¶
var ( ComponentStatusGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "", Kind: "ComponentStatus", } ComponentStatusResource = metav1.APIResource{ Name: "componentstatuses", SingularName: "componentstatus", Namespaced: false, Kind: ComponentStatusGroupVersionKind.Kind, } )
var ( NodeGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "", Kind: "Node", } NodeResource = metav1.APIResource{ Name: "nodes", SingularName: "node", Namespaced: false, Kind: NodeGroupVersionKind.Kind, } )
var ( PodGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "", Kind: "Pod", } PodResource = metav1.APIResource{ Name: "pods", SingularName: "pod", Namespaced: false, Kind: PodGroupVersionKind.Kind, } )
var ( SecretGroupVersionKind = schema.GroupVersionKind{ Version: "v1", Group: "", Kind: "Secret", } SecretResource = metav1.APIResource{ Name: "secrets", SingularName: "secret", Namespaced: false, Kind: SecretGroupVersionKind.Kind, } )
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) ComponentStatuses ¶
func (c *Client) ComponentStatuses(namespace string) ComponentStatusInterface
func (*Client) Nodes ¶
func (c *Client) Nodes(namespace string) NodeInterface
func (*Client) Pods ¶
func (c *Client) Pods(namespace string) PodInterface
func (*Client) RESTClient ¶
func (*Client) Secrets ¶
func (c *Client) Secrets(namespace string) SecretInterface
type ComponentStatusController ¶
type ComponentStatusController interface { Informer() cache.SharedIndexInformer Lister() ComponentStatusLister AddHandler(handler ComponentStatusHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ComponentStatusHandlerFunc ¶
type ComponentStatusHandlerFunc func(key string, obj *v1.ComponentStatus) error
type ComponentStatusInterface ¶
type ComponentStatusInterface interface { ObjectClient() *clientbase.ObjectClient Create(*v1.ComponentStatus) (*v1.ComponentStatus, error) Get(name string, opts metav1.GetOptions) (*v1.ComponentStatus, error) Update(*v1.ComponentStatus) (*v1.ComponentStatus, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ComponentStatusList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ComponentStatusController }
type ComponentStatusList ¶
type ComponentStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ComponentStatus }
func (*ComponentStatusList) DeepCopy ¶
func (in *ComponentStatusList) DeepCopy() *ComponentStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.
func (*ComponentStatusList) DeepCopyInto ¶
func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentStatusList) DeepCopyObject ¶
func (in *ComponentStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentStatusLister ¶
type ComponentStatusLister interface { List(namespace string, selector labels.Selector) (ret []*v1.ComponentStatus, err error) Get(namespace, name string) (*v1.ComponentStatus, error) }
type ComponentStatusesGetter ¶
type ComponentStatusesGetter interface {
ComponentStatuses(namespace string) ComponentStatusInterface
}
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter PodsGetter NodesGetter ComponentStatusesGetter SecretsGetter }
type NodeController ¶
type NodeController interface { Informer() cache.SharedIndexInformer Lister() NodeLister AddHandler(handler NodeHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type NodeInterface ¶
type NodeInterface interface { ObjectClient() *clientbase.ObjectClient Create(*v1.Node) (*v1.Node, error) Get(name string, opts metav1.GetOptions) (*v1.Node, error) Update(*v1.Node) (*v1.Node, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*NodeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() NodeController }
type NodeList ¶
type NodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Node }
func (*NodeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
func (*NodeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeLister ¶
type NodesGetter ¶
type NodesGetter interface {
Nodes(namespace string) NodeInterface
}
type PodController ¶
type PodInterface ¶
type PodInterface interface { ObjectClient() *clientbase.ObjectClient Create(*v1.Pod) (*v1.Pod, error) Get(name string, opts metav1.GetOptions) (*v1.Pod, error) Update(*v1.Pod) (*v1.Pod, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*PodList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() PodController }
type PodList ¶
type PodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Pod }
func (*PodList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
func (*PodList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodsGetter ¶
type PodsGetter interface {
Pods(namespace string) PodInterface
}
type SecretController ¶
type SecretController interface { Informer() cache.SharedIndexInformer Lister() SecretLister AddHandler(handler SecretHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type SecretInterface ¶
type SecretInterface interface { ObjectClient() *clientbase.ObjectClient Create(*v1.Secret) (*v1.Secret, error) Get(name string, opts metav1.GetOptions) (*v1.Secret, error) Update(*v1.Secret) (*v1.Secret, error) Delete(name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*SecretList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() SecretController }
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Secret }
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretLister ¶
type SecretsGetter ¶
type SecretsGetter interface {
Secrets(namespace string) SecretInterface
}