Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapsGetter ¶
type ConfigMapsGetter interface {
ConfigMaps(namespace string) ConfigMapsInterface
}
ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.
type ConfigMapsInterface ¶
type ConfigMapsInterface interface { Create(*api.ConfigMap) (*api.ConfigMap, error) Update(*api.ConfigMap) error Delete(name string) error Get(name string) (*api.ConfigMap, error) }
ConfigMapsInterface has methods to work with ConfigMap resources.
type CoreInterface ¶
type CoreInterface interface { PodsGetter PodStatusGetter ConfigMapsGetter NodesGetter NodeStatusGetter SecretsGetter }
CoreInterface is interface of mataclient
type NodeStatusGetter ¶
type NodeStatusGetter interface {
NodeStatus(namespace string) NodeStatusInterface
}
NodeStatusGetter is interface to get node status
type NodeStatusInterface ¶
type NodeStatusInterface interface { Create(*edgeapi.NodeStatusRequest) (*edgeapi.NodeStatusRequest, error) Update(rsName string, ns edgeapi.NodeStatusRequest) error Delete(name string) error Get(name string) (*edgeapi.NodeStatusRequest, error) }
NodeStatusInterface is node status interface
type NodesGetter ¶
type NodesGetter interface {
Nodes(namespace string) NodesInterface
}
NodesGetter to get node interface
type NodesInterface ¶
type NodesInterface interface { Create(*api.Node) (*api.Node, error) Update(*api.Node) error Delete(name string) error Get(name string) (*api.Node, error) }
NodesInterface is interface for metaclient nodes
type PodStatusGetter ¶
type PodStatusGetter interface {
PodStatus(namespace string) PodStatusInterface
}
PodStatusGetter is interface to get pod status
type PodStatusInterface ¶
type PodStatusInterface interface { Create(*edgeapi.PodStatusRequest) (*edgeapi.PodStatusRequest, error) Update(rsName string, ps edgeapi.PodStatusRequest) error Delete(name string) error Get(name string) (*edgeapi.PodStatusRequest, error) }
PodStatusInterface is interface of pod status
type PodsGetter ¶
type PodsGetter interface {
Pods(namespace string) PodsInterface
}
PodsGetter is interface to get pods
type PodsInterface ¶
type PodsInterface interface { Create(*api.Pod) (*api.Pod, error) Update(*api.Pod) error Delete(name string) error Get(name string) (*api.Pod, error) }
PodsInterface is pod interface
type SecretsGetter ¶
type SecretsGetter interface {
Secrets(namespace string) SecretsInterface
}
SecretsGetter is interface to get metaclient secrets
Click to show internal directories.
Click to hide internal directories.