Documentation
¶
Index ¶
- type ConfigMapsGetter
- type ConfigMapsInterface
- type CoreInterface
- type Endpoints
- type EndpointsGetter
- type EndpointsInterface
- type NodeStatusGetter
- type NodeStatusInterface
- type NodesGetter
- type NodesInterface
- type PersistentVolumeClaimsGetter
- type PersistentVolumeClaimsInterface
- type PersistentVolumesGetter
- type PersistentVolumesInterface
- type PodStatusGetter
- type PodStatusInterface
- type PodsGetter
- type PodsInterface
- type SecretsGetter
- type SecretsInterface
- type SendInterface
- type ServiceAccountTokenGetter
- type ServiceAccountTokenInterface
- type ServiceGetter
- type ServiceInterface
- type VolumeAttachmentsGetter
- type VolumeAttachmentsInterface
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 ServiceAccountTokenGetter PersistentVolumesGetter PersistentVolumeClaimsGetter VolumeAttachmentsGetter }
CoreInterface is interface of metaclient
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints is struct implementing EndpointsInterface
type EndpointsGetter ¶
type EndpointsGetter interface {
Endpoints(namespace string) EndpointsInterface
}
EndpointsGetter has a method to return a EndpointsInterface. A group's client should implement this interface.
type EndpointsInterface ¶
type EndpointsInterface interface { Create(*api.Endpoints) (*api.Endpoints, error) Update(*api.Endpoints) error Delete(name string) error Get(name string) (*api.Endpoints, error) }
EndpointsInterface has methods to work with Endpoints resources.
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 client nodes
type PersistentVolumeClaimsGetter ¶ added in v1.1.0
type PersistentVolumeClaimsGetter interface {
PersistentVolumeClaims(namespace string) PersistentVolumeClaimsInterface
}
PersistentVolumeClaimsGetter is interface to get client PersistentVolumeClaims
type PersistentVolumeClaimsInterface ¶ added in v1.1.0
type PersistentVolumeClaimsInterface interface { Create(*api.PersistentVolumeClaim) (*api.PersistentVolumeClaim, error) Update(*api.PersistentVolumeClaim) error Delete(name string) error Get(name string, options metav1.GetOptions) (*api.PersistentVolumeClaim, error) }
PersistentVolumeClaimsInterface is interface for client PersistentVolumeClaims
type PersistentVolumesGetter ¶ added in v1.1.0
type PersistentVolumesGetter interface {
PersistentVolumes(namespace string) PersistentVolumesInterface
}
PersistentVolumesGetter is interface to get client PersistentVolumes
type PersistentVolumesInterface ¶ added in v1.1.0
type PersistentVolumesInterface interface { Create(*api.PersistentVolume) (*api.PersistentVolume, error) Update(*api.PersistentVolume) error Delete(name string) error Get(name string, options metav1.GetOptions) (*api.PersistentVolume, error) }
PersistentVolumesInterface is interface for client PersistentVolumes
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(*corev1.Pod) (*corev1.Pod, error) Update(*corev1.Pod) error Delete(name, options string) error Get(name string) (*corev1.Pod, error) }
PodsInterface is pod interface
type SecretsGetter ¶
type SecretsGetter interface {
Secrets(namespace string) SecretsInterface
}
SecretsGetter is interface to get client secrets
type SecretsInterface ¶
type SecretsInterface interface { Create(*api.Secret) (*api.Secret, error) Update(*api.Secret) error Delete(name string) error Get(name string) (*api.Secret, error) }
SecretsInterface is interface for client secret
type SendInterface ¶
type SendInterface interface { SendSync(message *model.Message) (*model.Message, error) Send(message *model.Message) }
SendInterface is to sync interface
type ServiceAccountTokenGetter ¶ added in v1.7.2
type ServiceAccountTokenGetter interface {
ServiceAccountToken() ServiceAccountTokenInterface
}
ServiceAccountTokenGetter is interface to get client service account token
type ServiceAccountTokenInterface ¶ added in v1.7.2
type ServiceAccountTokenInterface interface {
GetServiceAccountToken(namespace string, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error)
}
ServiceAccountTokenInterface is interface for client service account token
type ServiceGetter ¶
type ServiceGetter interface {
Services(namespace string) ServiceInterface
}
ServiceGetter interface
type ServiceInterface ¶
type ServiceInterface interface { Create(*v1.Service) (*v1.Service, error) Update(service *v1.Service) error Delete(name string) error Get(name string) (*v1.Service, error) GetPods(name string) ([]v1.Pod, error) ListAll() ([]v1.Service, error) }
ServiceInterface is an interface
type VolumeAttachmentsGetter ¶ added in v1.1.0
type VolumeAttachmentsGetter interface {
VolumeAttachments(namespace string) VolumeAttachmentsInterface
}
VolumeAttachmentsGetter is interface to get client VolumeAttachments
type VolumeAttachmentsInterface ¶ added in v1.1.0
type VolumeAttachmentsInterface interface { Create(*api.VolumeAttachment) (*api.VolumeAttachment, error) Update(*api.VolumeAttachment) error Delete(name string) error Get(name string, options metav1.GetOptions) (*api.VolumeAttachment, error) }
VolumeAttachmentsInterface is interface for client VolumeAttachments