Documentation ¶
Index ¶
- func FlagParse()
- func FlagString(name string, value string, usage string) *string
- type AppV1
- func (*AppV1) ControllerRevisions(namespace string) v1.ControllerRevisionInterface
- func (*AppV1) DaemonSets(namespace string) v1.DaemonSetInterface
- func (*AppV1) Deployments(namespace string) v1.DeploymentInterface
- func (*AppV1) RESTClient() rest.Interface
- func (*AppV1) ReplicaSets(namespace string) v1.ReplicaSetInterface
- func (*AppV1) StatefulSets(namespace string) v1.StatefulSetInterface
- type Client
- func (c *Client) BuildConfigFromFlags(masterUrl string, kubeconfigPath string) (*rest.Config, error)
- func (c *Client) InClusterConfig() (*rest.Config, error)
- func (c *Client) NewForConfig(*rest.Config) (*kubernetes.Clientset, error)
- func (c *Client) NewIngressRouteClientForConfig(*rest.Config) (*ingressroute.CustomResourceClient, error)
- func (c *Client) OsUserHomeDir() (string, error)
- type Clientset
- func (*Clientset) AdmissionregistrationV1() admissionregistrationv1.AdmissionregistrationV1Interface
- func (c *Clientset) AdmissionregistrationV1alpha1() admissionregistrationv1alpha1.AdmissionregistrationV1alpha1Interface
- func (*Clientset) AdmissionregistrationV1beta1() admissionregistrationv1beta1.AdmissionregistrationV1beta1Interface
- func (*Clientset) AppsV1() appsv1.AppsV1Interface
- func (*Clientset) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
- func (*Clientset) AppsV1beta2() appsv1beta2.AppsV1beta2Interface
- func (*Clientset) AuthenticationV1() authenticationv1.AuthenticationV1Interface
- func (c *Clientset) AuthenticationV1alpha1() authenticationv1alpha1.AuthenticationV1alpha1Interface
- func (*Clientset) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
- func (*Clientset) AuthorizationV1() authorizationv1.AuthorizationV1Interface
- func (*Clientset) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
- func (*Clientset) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
- func (c *Clientset) AutoscalingV2() v2.AutoscalingV2Interface
- func (*Clientset) AutoscalingV2beta1() autoscalingv2beta1.AutoscalingV2beta1Interface
- func (*Clientset) AutoscalingV2beta2() autoscalingv2beta2.AutoscalingV2beta2Interface
- func (*Clientset) BatchV1() batchv1.BatchV1Interface
- func (*Clientset) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
- func (*Clientset) CertificatesV1() certificatesv1.CertificatesV1Interface
- func (c *Clientset) CertificatesV1alpha1() certificatesv1alpha1.CertificatesV1alpha1Interface
- func (*Clientset) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
- func (*Clientset) CoordinationV1() coordinationv1.CoordinationV1Interface
- func (*Clientset) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
- func (c *Clientset) CoreV1() corev1.CoreV1Interface
- func (*Clientset) Discovery() discovery.DiscoveryInterface
- func (*Clientset) DiscoveryV1() discoveryv1.DiscoveryV1Interface
- func (*Clientset) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
- func (*Clientset) EventsV1() eventsv1.EventsV1Interface
- func (*Clientset) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
- func (*Clientset) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
- func (c *Clientset) FlowcontrolV1() v1.FlowcontrolV1Interface
- func (*Clientset) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
- func (c *Clientset) FlowcontrolV1beta2() v1beta2.FlowcontrolV1beta2Interface
- func (c *Clientset) FlowcontrolV1beta3() v1beta3.FlowcontrolV1beta3Interface
- func (*Clientset) InternalV1alpha1() internalv1alpha1.InternalV1alpha1Interface
- func (*Clientset) NetworkingV1() networkingv1.NetworkingV1Interface
- func (c *Clientset) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface
- func (*Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
- func (*Clientset) NodeV1() nodev1.NodeV1Interface
- func (*Clientset) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
- func (*Clientset) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
- func (*Clientset) PolicyV1() policyv1.PolicyV1Interface
- func (*Clientset) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
- func (*Clientset) RbacV1() rbacv1.RbacV1Interface
- func (*Clientset) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
- func (*Clientset) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
- func (c *Clientset) ResourceV1alpha2() v1alpha2.ResourceV1alpha2Interface
- func (*Clientset) SchedulingV1() schedulingv1.SchedulingV1Interface
- func (*Clientset) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
- func (*Clientset) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
- func (*Clientset) StorageV1() storagev1.StorageV1Interface
- func (*Clientset) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
- func (*Clientset) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
- func (c *Clientset) StoragemigrationV1alpha1() storagemigrationv1alpha1.StoragemigrationV1alpha1Interface
- type ConfigMap
- func (*ConfigMap) Apply(ctx context.Context, configMap *cofnigcorev1.ConfigMapApplyConfiguration, ...) (result *v1.ConfigMap, err error)
- func (c *ConfigMap) Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error)
- func (c *ConfigMap) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*ConfigMap) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*ConfigMap) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error)
- func (*ConfigMap) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, error)
- func (*ConfigMap) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ConfigMap, err error)
- func (c *ConfigMap) Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error)
- func (*ConfigMap) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type CoreV1
- func (*CoreV1) ComponentStatuses() corev1.ComponentStatusInterface
- func (*CoreV1) ConfigMaps(namespace string) corev1.ConfigMapInterface
- func (*CoreV1) Endpoints(namespace string) corev1.EndpointsInterface
- func (*CoreV1) Events(namespace string) corev1.EventInterface
- func (*CoreV1) LimitRanges(namespace string) corev1.LimitRangeInterface
- func (*CoreV1) Namespaces() corev1.NamespaceInterface
- func (*CoreV1) Nodes() corev1.NodeInterface
- func (*CoreV1) PersistentVolumeClaims(namespace string) corev1.PersistentVolumeClaimInterface
- func (*CoreV1) PersistentVolumes() corev1.PersistentVolumeInterface
- func (*CoreV1) PodTemplates(namespace string) corev1.PodTemplateInterface
- func (*CoreV1) Pods(namespace string) corev1.PodInterface
- func (*CoreV1) RESTClient() rest.Interface
- func (*CoreV1) ReplicationControllers(namespace string) corev1.ReplicationControllerInterface
- func (*CoreV1) ResourceQuotas(namespace string) corev1.ResourceQuotaInterface
- func (*CoreV1) Secrets(namespace string) corev1.SecretInterface
- func (*CoreV1) ServiceAccounts(namespace string) corev1.ServiceAccountInterface
- func (*CoreV1) Services(namespace string) corev1.ServiceInterface
- type Ingress
- func (*Ingress) Apply(ctx context.Context, ingress *networkingv1.IngressApplyConfiguration, ...) (result *netv1.Ingress, err error)
- func (*Ingress) ApplyStatus(ctx context.Context, ingress *networkingv1.IngressApplyConfiguration, ...) (result *netv1.Ingress, err error)
- func (*Ingress) Create(ctx context.Context, ingress *netv1.Ingress, opts metav1.CreateOptions) (*netv1.Ingress, error)
- func (*Ingress) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Ingress) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*Ingress) Get(ctx context.Context, name string, opts metav1.GetOptions) (*netv1.Ingress, error)
- func (*Ingress) List(ctx context.Context, opts metav1.ListOptions) (*netv1.IngressList, error)
- func (*Ingress) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *netv1.Ingress, err error)
- func (*Ingress) Update(ctx context.Context, ingress *netv1.Ingress, opts metav1.UpdateOptions) (*netv1.Ingress, error)
- func (*Ingress) UpdateStatus(ctx context.Context, ingress *netv1.Ingress, opts metav1.UpdateOptions) (*netv1.Ingress, error)
- func (*Ingress) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type MockRoundTripper
- type Namespace
- func (*Namespace) Apply(ctx context.Context, namespace *corev1.NamespaceApplyConfiguration, ...) (result *v1.Namespace, err error)
- func (*Namespace) ApplyStatus(ctx context.Context, namespace *corev1.NamespaceApplyConfiguration, ...) (result *v1.Namespace, err error)
- func (nm *Namespace) Create(ctx context.Context, namespace *v1.Namespace, opts metav1.CreateOptions) (*v1.Namespace, error)
- func (*Namespace) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Namespace) Finalize(ctx context.Context, item *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
- func (*Namespace) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Namespace, error)
- func (*Namespace) List(ctx context.Context, opts metav1.ListOptions) (*v1.NamespaceList, error)
- func (*Namespace) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Namespace, err error)
- func (*Namespace) Update(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
- func (*Namespace) UpdateStatus(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
- func (*Namespace) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type NetworkingV1
- type Pod
- func (*Pod) Apply(ctx context.Context, pod *configcorev1.PodApplyConfiguration, ...) (result *v1.Pod, err error)
- func (*Pod) ApplyStatus(ctx context.Context, pod *configcorev1.PodApplyConfiguration, ...) (result *v1.Pod, err error)
- func (*Pod) Bind(ctx context.Context, binding *v1.Binding, opts metav1.CreateOptions) error
- func (*Pod) Create(ctx context.Context, pod *v1.Pod, opts metav1.CreateOptions) (*v1.Pod, error)
- func (*Pod) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Pod) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*Pod) Evict(ctx context.Context, eviction *policy.Eviction) error
- func (*Pod) EvictV1(ctx context.Context, eviction *policyv1.Eviction) error
- func (*Pod) EvictV1beta1(ctx context.Context, eviction *policy.Eviction) error
- func (*Pod) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Pod, error)
- func (*Pod) GetLogs(name string, opts *v1.PodLogOptions) *restclient.Request
- func (*Pod) List(ctx context.Context, opts metav1.ListOptions) (*v1.PodList, error)
- func (*Pod) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Pod, err error)
- func (*Pod) ProxyGet(scheme string, name string, port string, path string, params map[string]string) restclient.ResponseWrapper
- func (*Pod) Update(ctx context.Context, pod *v1.Pod, opts metav1.UpdateOptions) (*v1.Pod, error)
- func (*Pod) UpdateEphemeralContainers(ctx context.Context, podName string, pod *v1.Pod, opts metav1.UpdateOptions) (*v1.Pod, error)
- func (*Pod) UpdateStatus(ctx context.Context, pod *v1.Pod, opts metav1.UpdateOptions) (*v1.Pod, error)
- func (*Pod) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Pvc
- func (*Pvc) Apply(ctx context.Context, ...) (result *v1.PersistentVolumeClaim, err error)
- func (*Pvc) ApplyStatus(ctx context.Context, ...) (result *v1.PersistentVolumeClaim, err error)
- func (*Pvc) Create(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, ...) (*v1.PersistentVolumeClaim, error)
- func (*Pvc) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Pvc) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*Pvc) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PersistentVolumeClaim, error)
- func (*Pvc) List(ctx context.Context, opts metav1.ListOptions) (*v1.PersistentVolumeClaimList, error)
- func (*Pvc) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PersistentVolumeClaim, err error)
- func (*Pvc) Update(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, ...) (*v1.PersistentVolumeClaim, error)
- func (*Pvc) UpdateStatus(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, ...) (*v1.PersistentVolumeClaim, error)
- func (*Pvc) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Secret
- func (*Secret) Apply(ctx context.Context, secret *configcorev1.SecretApplyConfiguration, ...) (result *v1.Secret, err error)
- func (*Secret) Create(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions) (*v1.Secret, error)
- func (*Secret) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Secret) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*Secret) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Secret, error)
- func (*Secret) List(ctx context.Context, opts metav1.ListOptions) (*v1.SecretList, error)
- func (*Secret) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Secret, err error)
- func (*Secret) Update(ctx context.Context, secret *v1.Secret, opts metav1.UpdateOptions) (*v1.Secret, error)
- func (*Secret) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type Service
- func (*Service) Apply(ctx context.Context, service *configcorev1.ServiceApplyConfiguration, ...) (result *v1.Service, err error)
- func (*Service) ApplyStatus(ctx context.Context, service *configcorev1.ServiceApplyConfiguration, ...) (result *v1.Service, err error)
- func (*Service) Create(ctx context.Context, service *v1.Service, opts metav1.CreateOptions) (*v1.Service, error)
- func (*Service) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*Service) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Service, error)
- func (*Service) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceList, error)
- func (*Service) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Service, err error)
- func (*Service) ProxyGet(scheme string, name string, port string, path string, params map[string]string) restclient.ResponseWrapper
- func (*Service) Update(ctx context.Context, service *v1.Service, opts metav1.UpdateOptions) (*v1.Service, error)
- func (*Service) UpdateStatus(ctx context.Context, service *v1.Service, opts metav1.UpdateOptions) (*v1.Service, error)
- func (*Service) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type ServiceAccount
- func (*ServiceAccount) Apply(ctx context.Context, ...) (result *v1.ServiceAccount, err error)
- func (*ServiceAccount) Create(ctx context.Context, serviceAccount *v1.ServiceAccount, ...) (*v1.ServiceAccount, error)
- func (*ServiceAccount) CreateToken(ctx context.Context, serviceAccountName string, ...) (*authenticationv1.TokenRequest, error)
- func (*ServiceAccount) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*ServiceAccount) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*ServiceAccount) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ServiceAccount, error)
- func (*ServiceAccount) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceAccountList, error)
- func (*ServiceAccount) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ServiceAccount, err error)
- func (*ServiceAccount) Update(ctx context.Context, serviceAccount *v1.ServiceAccount, ...) (*v1.ServiceAccount, error)
- func (*ServiceAccount) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type StatefulSet
- func (*StatefulSet) Apply(ctx context.Context, statefulSet *configappsv1.StatefulSetApplyConfiguration, ...) (result *v1.StatefulSet, err error)
- func (*StatefulSet) ApplyScale(ctx context.Context, statefulSetName string, ...) (*autoscalingv1.Scale, error)
- func (*StatefulSet) ApplyStatus(ctx context.Context, statefulSet *configappsv1.StatefulSetApplyConfiguration, ...) (result *v1.StatefulSet, err error)
- func (*StatefulSet) Create(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.CreateOptions) (*v1.StatefulSet, error)
- func (*StatefulSet) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (*StatefulSet) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (*StatefulSet) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StatefulSet, error)
- func (*StatefulSet) GetScale(ctx context.Context, statefulSetName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
- func (ss *StatefulSet) List(ctx context.Context, opts metav1.ListOptions) (*v1.StatefulSetList, error)
- func (*StatefulSet) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.StatefulSet, err error)
- func (*StatefulSet) Update(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.UpdateOptions) (*v1.StatefulSet, error)
- func (*StatefulSet) UpdateScale(ctx context.Context, statefulSetName string, scale *autoscalingv1.Scale, ...) (*autoscalingv1.Scale, error)
- func (*StatefulSet) UpdateStatus(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.UpdateOptions) (*v1.StatefulSet, error)
- func (*StatefulSet) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppV1 ¶
type AppV1 struct{}
func (*AppV1) ControllerRevisions ¶
func (*AppV1) ControllerRevisions(namespace string) v1.ControllerRevisionInterface
ControllerRevisions implements v1.AppsV1Interface
func (*AppV1) DaemonSets ¶
func (*AppV1) DaemonSets(namespace string) v1.DaemonSetInterface
DaemonSets implements v1.AppsV1Interface
func (*AppV1) Deployments ¶
func (*AppV1) Deployments(namespace string) v1.DeploymentInterface
Deployments implements v1.AppsV1Interface
func (*AppV1) RESTClient ¶
RESTClient implements v1.AppsV1Interface
func (*AppV1) ReplicaSets ¶
func (*AppV1) ReplicaSets(namespace string) v1.ReplicaSetInterface
ReplicaSets implements v1.AppsV1Interface
func (*AppV1) StatefulSets ¶
func (*AppV1) StatefulSets(namespace string) v1.StatefulSetInterface
StatefulSets implements v1.AppsV1Interface
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BuildConfigFromFlags ¶
func (*Client) NewForConfig ¶
NewForConfig returns a new Kubernetes clientset
func (*Client) NewIngressRouteClientForConfig ¶ added in v0.12.3
func (c *Client) NewIngressRouteClientForConfig(*rest.Config) (*ingressroute.CustomResourceClient, error)
NewIngressRouteClientForConfig returns a new ingressroute client
func (*Client) OsUserHomeDir ¶
type Clientset ¶
type Clientset struct{}
func NewClientset ¶
func NewClientset() *Clientset
func (*Clientset) AdmissionregistrationV1 ¶
func (*Clientset) AdmissionregistrationV1() admissionregistrationv1.AdmissionregistrationV1Interface
AdmissionregistrationV1 implements kubernetes.Interface
func (*Clientset) AdmissionregistrationV1alpha1 ¶ added in v0.20.0
func (c *Clientset) AdmissionregistrationV1alpha1() admissionregistrationv1alpha1.AdmissionregistrationV1alpha1Interface
AdmissionregistrationV1alpha1 implements kubernetes.Interface.
func (*Clientset) AdmissionregistrationV1beta1 ¶
func (*Clientset) AdmissionregistrationV1beta1() admissionregistrationv1beta1.AdmissionregistrationV1beta1Interface
AdmissionregistrationV1beta1 implements kubernetes.Interface
func (*Clientset) AppsV1 ¶
func (*Clientset) AppsV1() appsv1.AppsV1Interface
AppsV1 implements kubernetes.Interface
func (*Clientset) AppsV1beta1 ¶
func (*Clientset) AppsV1beta1() appsv1beta1.AppsV1beta1Interface
AppsV1beta1 implements kubernetes.Interface
func (*Clientset) AppsV1beta2 ¶
func (*Clientset) AppsV1beta2() appsv1beta2.AppsV1beta2Interface
AppsV1beta2 implements kubernetes.Interface
func (*Clientset) AuthenticationV1 ¶
func (*Clientset) AuthenticationV1() authenticationv1.AuthenticationV1Interface
AuthenticationV1 implements kubernetes.Interface
func (*Clientset) AuthenticationV1alpha1 ¶ added in v0.20.0
func (c *Clientset) AuthenticationV1alpha1() authenticationv1alpha1.AuthenticationV1alpha1Interface
AuthenticationV1alpha1 implements kubernetes.Interface.
func (*Clientset) AuthenticationV1beta1 ¶
func (*Clientset) AuthenticationV1beta1() authenticationv1beta1.AuthenticationV1beta1Interface
AuthenticationV1beta1 implements kubernetes.Interface
func (*Clientset) AuthorizationV1 ¶
func (*Clientset) AuthorizationV1() authorizationv1.AuthorizationV1Interface
AuthorizationV1 implements kubernetes.Interface
func (*Clientset) AuthorizationV1beta1 ¶
func (*Clientset) AuthorizationV1beta1() authorizationv1beta1.AuthorizationV1beta1Interface
AuthorizationV1beta1 implements kubernetes.Interface
func (*Clientset) AutoscalingV1 ¶
func (*Clientset) AutoscalingV1() autoscalingv1.AutoscalingV1Interface
AutoscalingV1 implements kubernetes.Interface
func (*Clientset) AutoscalingV2 ¶ added in v0.20.0
func (c *Clientset) AutoscalingV2() v2.AutoscalingV2Interface
AutoscalingV2 implements kubernetes.Interface.
func (*Clientset) AutoscalingV2beta1 ¶
func (*Clientset) AutoscalingV2beta1() autoscalingv2beta1.AutoscalingV2beta1Interface
AutoscalingV2beta1 implements kubernetes.Interface
func (*Clientset) AutoscalingV2beta2 ¶
func (*Clientset) AutoscalingV2beta2() autoscalingv2beta2.AutoscalingV2beta2Interface
AutoscalingV2beta2 implements kubernetes.Interface
func (*Clientset) BatchV1 ¶
func (*Clientset) BatchV1() batchv1.BatchV1Interface
BatchV1 implements kubernetes.Interface
func (*Clientset) BatchV1beta1 ¶
func (*Clientset) BatchV1beta1() batchv1beta1.BatchV1beta1Interface
BatchV1beta1 implements kubernetes.Interface
func (*Clientset) CertificatesV1 ¶
func (*Clientset) CertificatesV1() certificatesv1.CertificatesV1Interface
CertificatesV1 implements kubernetes.Interface
func (*Clientset) CertificatesV1alpha1 ¶ added in v0.20.0
func (c *Clientset) CertificatesV1alpha1() certificatesv1alpha1.CertificatesV1alpha1Interface
CertificatesV1alpha1 implements kubernetes.Interface.
func (*Clientset) CertificatesV1beta1 ¶
func (*Clientset) CertificatesV1beta1() certificatesv1beta1.CertificatesV1beta1Interface
CertificatesV1beta1 implements kubernetes.Interface
func (*Clientset) CoordinationV1 ¶
func (*Clientset) CoordinationV1() coordinationv1.CoordinationV1Interface
CoordinationV1 implements kubernetes.Interface
func (*Clientset) CoordinationV1beta1 ¶
func (*Clientset) CoordinationV1beta1() coordinationv1beta1.CoordinationV1beta1Interface
CoordinationV1beta1 implements kubernetes.Interface
func (*Clientset) CoreV1 ¶
func (c *Clientset) CoreV1() corev1.CoreV1Interface
CoreV1 implements kubernetes.Interface
func (*Clientset) Discovery ¶
func (*Clientset) Discovery() discovery.DiscoveryInterface
Discovery implements kubernetes.Interface
func (*Clientset) DiscoveryV1 ¶
func (*Clientset) DiscoveryV1() discoveryv1.DiscoveryV1Interface
DiscoveryV1 implements kubernetes.Interface
func (*Clientset) DiscoveryV1beta1 ¶
func (*Clientset) DiscoveryV1beta1() discoveryv1beta1.DiscoveryV1beta1Interface
DiscoveryV1beta1 implements kubernetes.Interface
func (*Clientset) EventsV1 ¶
func (*Clientset) EventsV1() eventsv1.EventsV1Interface
EventsV1 implements kubernetes.Interface
func (*Clientset) EventsV1beta1 ¶
func (*Clientset) EventsV1beta1() eventsv1beta1.EventsV1beta1Interface
EventsV1beta1 implements kubernetes.Interface
func (*Clientset) ExtensionsV1beta1 ¶
func (*Clientset) ExtensionsV1beta1() extensionsv1beta1.ExtensionsV1beta1Interface
ExtensionsV1beta1 implements kubernetes.Interface
func (*Clientset) FlowcontrolV1 ¶ added in v0.20.0
func (c *Clientset) FlowcontrolV1() v1.FlowcontrolV1Interface
FlowcontrolV1 implements kubernetes.Interface.
func (*Clientset) FlowcontrolV1beta1 ¶
func (*Clientset) FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface
FlowcontrolV1beta1 implements kubernetes.Interface
func (*Clientset) FlowcontrolV1beta2 ¶ added in v0.20.0
func (c *Clientset) FlowcontrolV1beta2() v1beta2.FlowcontrolV1beta2Interface
FlowcontrolV1beta2 implements kubernetes.Interface.
func (*Clientset) FlowcontrolV1beta3 ¶ added in v0.20.0
func (c *Clientset) FlowcontrolV1beta3() v1beta3.FlowcontrolV1beta3Interface
FlowcontrolV1beta3 implements kubernetes.Interface.
func (*Clientset) InternalV1alpha1 ¶
func (*Clientset) InternalV1alpha1() internalv1alpha1.InternalV1alpha1Interface
InternalV1alpha1 implements kubernetes.Interface
func (*Clientset) NetworkingV1 ¶
func (*Clientset) NetworkingV1() networkingv1.NetworkingV1Interface
NetworkingV1 implements kubernetes.Interface
func (*Clientset) NetworkingV1alpha1 ¶ added in v0.20.0
func (c *Clientset) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface
NetworkingV1alpha1 implements kubernetes.Interface.
func (*Clientset) NetworkingV1beta1 ¶
func (*Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface
NetworkingV1beta1 implements kubernetes.Interface
func (*Clientset) NodeV1 ¶
func (*Clientset) NodeV1() nodev1.NodeV1Interface
NodeV1 implements kubernetes.Interface
func (*Clientset) NodeV1alpha1 ¶
func (*Clientset) NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface
NodeV1alpha1 implements kubernetes.Interface
func (*Clientset) NodeV1beta1 ¶
func (*Clientset) NodeV1beta1() nodev1beta1.NodeV1beta1Interface
NodeV1beta1 implements kubernetes.Interface
func (*Clientset) PolicyV1 ¶
func (*Clientset) PolicyV1() policyv1.PolicyV1Interface
PolicyV1 implements kubernetes.Interface
func (*Clientset) PolicyV1beta1 ¶
func (*Clientset) PolicyV1beta1() policyv1beta1.PolicyV1beta1Interface
PolicyV1beta1 implements kubernetes.Interface
func (*Clientset) RbacV1 ¶
func (*Clientset) RbacV1() rbacv1.RbacV1Interface
RbacV1 implements kubernetes.Interface
func (*Clientset) RbacV1alpha1 ¶
func (*Clientset) RbacV1alpha1() rbacv1alpha1.RbacV1alpha1Interface
RbacV1alpha1 implements kubernetes.Interface
func (*Clientset) RbacV1beta1 ¶
func (*Clientset) RbacV1beta1() rbacv1beta1.RbacV1beta1Interface
RbacV1beta1 implements kubernetes.Interface
func (*Clientset) ResourceV1alpha2 ¶ added in v0.20.0
func (c *Clientset) ResourceV1alpha2() v1alpha2.ResourceV1alpha2Interface
ResourceV1alpha2 implements kubernetes.Interface.
func (*Clientset) SchedulingV1 ¶
func (*Clientset) SchedulingV1() schedulingv1.SchedulingV1Interface
SchedulingV1 implements kubernetes.Interface
func (*Clientset) SchedulingV1alpha1 ¶
func (*Clientset) SchedulingV1alpha1() schedulingv1alpha1.SchedulingV1alpha1Interface
SchedulingV1alpha1 implements kubernetes.Interface
func (*Clientset) SchedulingV1beta1 ¶
func (*Clientset) SchedulingV1beta1() schedulingv1beta1.SchedulingV1beta1Interface
SchedulingV1beta1 implements kubernetes.Interface
func (*Clientset) StorageV1 ¶
func (*Clientset) StorageV1() storagev1.StorageV1Interface
StorageV1 implements kubernetes.Interface
func (*Clientset) StorageV1alpha1 ¶
func (*Clientset) StorageV1alpha1() storagev1alpha1.StorageV1alpha1Interface
StorageV1alpha1 implements kubernetes.Interface
func (*Clientset) StorageV1beta1 ¶
func (*Clientset) StorageV1beta1() storagev1beta1.StorageV1beta1Interface
StorageV1beta1 implements kubernetes.Interface
func (*Clientset) StoragemigrationV1alpha1 ¶ added in v0.20.0
func (c *Clientset) StoragemigrationV1alpha1() storagemigrationv1alpha1.StoragemigrationV1alpha1Interface
StoragemigrationV1alpha1 implements kubernetes.Interface.
type ConfigMap ¶
type ConfigMap struct{}
func NewConfigMap ¶
func NewConfigMap() *ConfigMap
func (*ConfigMap) Apply ¶
func (*ConfigMap) Apply(ctx context.Context, configMap *cofnigcorev1.ConfigMapApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ConfigMap, err error)
Apply implements v1.ConfigMapInterface
func (*ConfigMap) Create ¶
func (c *ConfigMap) Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error)
Create implements v1.ConfigMapInterface
func (*ConfigMap) DeleteCollection ¶
func (*ConfigMap) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.ConfigMapInterface
func (*ConfigMap) Get ¶
func (*ConfigMap) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error)
Get implements v1.ConfigMapInterface
func (*ConfigMap) List ¶
func (*ConfigMap) List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, error)
List implements v1.ConfigMapInterface
func (*ConfigMap) Patch ¶
func (*ConfigMap) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ConfigMap, err error)
Patch implements v1.ConfigMapInterface
type CoreV1 ¶
type CoreV1 struct{}
func (*CoreV1) ComponentStatuses ¶
func (*CoreV1) ComponentStatuses() corev1.ComponentStatusInterface
ComponentStatuses implements v1.CoreV1Interface
func (*CoreV1) ConfigMaps ¶
func (*CoreV1) ConfigMaps(namespace string) corev1.ConfigMapInterface
ConfigMaps implements v1.CoreV1Interface
func (*CoreV1) Endpoints ¶
func (*CoreV1) Endpoints(namespace string) corev1.EndpointsInterface
Endpoints implements v1.CoreV1Interface
func (*CoreV1) Events ¶
func (*CoreV1) Events(namespace string) corev1.EventInterface
Events implements v1.CoreV1Interface
func (*CoreV1) LimitRanges ¶
func (*CoreV1) LimitRanges(namespace string) corev1.LimitRangeInterface
LimitRanges implements v1.CoreV1Interface
func (*CoreV1) Namespaces ¶
func (*CoreV1) Namespaces() corev1.NamespaceInterface
Namespaces implements v1.CoreV1Interface
func (*CoreV1) Nodes ¶
func (*CoreV1) Nodes() corev1.NodeInterface
Nodes implements v1.CoreV1Interface
func (*CoreV1) PersistentVolumeClaims ¶
func (*CoreV1) PersistentVolumeClaims(namespace string) corev1.PersistentVolumeClaimInterface
PersistentVolumeClaims implements v1.CoreV1Interface
func (*CoreV1) PersistentVolumes ¶
func (*CoreV1) PersistentVolumes() corev1.PersistentVolumeInterface
PersistentVolumes implements v1.CoreV1Interface
func (*CoreV1) PodTemplates ¶
func (*CoreV1) PodTemplates(namespace string) corev1.PodTemplateInterface
PodTemplates implements v1.CoreV1Interface
func (*CoreV1) Pods ¶
func (*CoreV1) Pods(namespace string) corev1.PodInterface
Pods implements v1.CoreV1Interface
func (*CoreV1) RESTClient ¶
RESTClient implements v1.CoreV1Interface
func (*CoreV1) ReplicationControllers ¶
func (*CoreV1) ReplicationControllers(namespace string) corev1.ReplicationControllerInterface
ReplicationControllers implements v1.CoreV1Interface
func (*CoreV1) ResourceQuotas ¶
func (*CoreV1) ResourceQuotas(namespace string) corev1.ResourceQuotaInterface
ResourceQuotas implements v1.CoreV1Interface
func (*CoreV1) Secrets ¶
func (*CoreV1) Secrets(namespace string) corev1.SecretInterface
Secrets implements v1.CoreV1Interface
func (*CoreV1) ServiceAccounts ¶
func (*CoreV1) ServiceAccounts(namespace string) corev1.ServiceAccountInterface
ServiceAccounts implements v1.CoreV1Interface
type Ingress ¶
type Ingress struct{}
func NewIngress ¶
func NewIngress() *Ingress
func (*Ingress) Apply ¶
func (*Ingress) Apply(ctx context.Context, ingress *networkingv1.IngressApplyConfiguration, opts metav1.ApplyOptions) (result *netv1.Ingress, err error)
Apply implements v1.IngressInterface
func (*Ingress) ApplyStatus ¶
func (*Ingress) ApplyStatus(ctx context.Context, ingress *networkingv1.IngressApplyConfiguration, opts metav1.ApplyOptions) (result *netv1.Ingress, err error)
ApplyStatus implements v1.IngressInterface
func (*Ingress) Create ¶
func (*Ingress) Create(ctx context.Context, ingress *netv1.Ingress, opts metav1.CreateOptions) (*netv1.Ingress, error)
Create implements v1.IngressInterface
func (*Ingress) DeleteCollection ¶
func (*Ingress) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.IngressInterface
func (*Ingress) Get ¶
func (*Ingress) Get(ctx context.Context, name string, opts metav1.GetOptions) (*netv1.Ingress, error)
Get implements v1.IngressInterface
func (*Ingress) List ¶
func (*Ingress) List(ctx context.Context, opts metav1.ListOptions) (*netv1.IngressList, error)
List implements v1.IngressInterface
func (*Ingress) Patch ¶
func (*Ingress) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *netv1.Ingress, err error)
Patch implements v1.IngressInterface
func (*Ingress) Update ¶
func (*Ingress) Update(ctx context.Context, ingress *netv1.Ingress, opts metav1.UpdateOptions) (*netv1.Ingress, error)
Update implements v1.IngressInterface
type MockRoundTripper ¶ added in v0.12.0
MockRoundTripper is a mock implementation of the RoundTripper interface.
type Namespace ¶
type Namespace struct{}
func NewNamespace ¶
func NewNamespace() *Namespace
func (*Namespace) Apply ¶
func (*Namespace) Apply(ctx context.Context, namespace *corev1.NamespaceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Namespace, err error)
Apply implements v1.NamespaceInterface
func (*Namespace) ApplyStatus ¶
func (*Namespace) ApplyStatus(ctx context.Context, namespace *corev1.NamespaceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Namespace, err error)
ApplyStatus implements v1.NamespaceInterface
func (*Namespace) Create ¶
func (nm *Namespace) Create(ctx context.Context, namespace *v1.Namespace, opts metav1.CreateOptions) (*v1.Namespace, error)
Create implements v1.NamespaceInterface
func (*Namespace) Finalize ¶
func (*Namespace) Finalize(ctx context.Context, item *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
Finalize implements v1.NamespaceInterface
func (*Namespace) Get ¶
func (*Namespace) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Namespace, error)
Get implements v1.NamespaceInterface
func (*Namespace) List ¶
func (*Namespace) List(ctx context.Context, opts metav1.ListOptions) (*v1.NamespaceList, error)
List implements v1.NamespaceInterface
func (*Namespace) Patch ¶
func (*Namespace) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Namespace, err error)
Patch implements v1.NamespaceInterface
func (*Namespace) Update ¶
func (*Namespace) Update(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
Update implements v1.NamespaceInterface
type NetworkingV1 ¶
type NetworkingV1 struct{}
func NewNetworkingV1 ¶
func NewNetworkingV1() *NetworkingV1
func (*NetworkingV1) IngressClasses ¶
func (*NetworkingV1) IngressClasses() v1.IngressClassInterface
IngressClasses implements v1.NetworkingV1Interface
func (*NetworkingV1) Ingresses ¶
func (*NetworkingV1) Ingresses(namespace string) v1.IngressInterface
Ingresses implements v1.NetworkingV1Interface
func (*NetworkingV1) NetworkPolicies ¶
func (*NetworkingV1) NetworkPolicies(namespace string) v1.NetworkPolicyInterface
NetworkPolicies implements v1.NetworkingV1Interface
func (*NetworkingV1) RESTClient ¶
func (*NetworkingV1) RESTClient() rest.Interface
RESTClient implements v1.NetworkingV1Interface
type Pod ¶
type Pod struct{}
func (*Pod) Apply ¶
func (*Pod) Apply(ctx context.Context, pod *configcorev1.PodApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Pod, err error)
Apply implements v1.PodInterface
func (*Pod) ApplyStatus ¶
func (*Pod) ApplyStatus(ctx context.Context, pod *configcorev1.PodApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Pod, err error)
ApplyStatus implements v1.PodInterface
func (*Pod) DeleteCollection ¶
func (*Pod) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.PodInterface
func (*Pod) EvictV1beta1 ¶ added in v0.11.15
EvictV1beta1 implements v1.PodInterface
func (*Pod) GetLogs ¶
func (*Pod) GetLogs(name string, opts *v1.PodLogOptions) *restclient.Request
GetLogs implements v1.PodInterface
func (*Pod) Patch ¶
func (*Pod) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Pod, err error)
Patch implements v1.PodInterface
func (*Pod) ProxyGet ¶
func (*Pod) ProxyGet(scheme string, name string, port string, path string, params map[string]string) restclient.ResponseWrapper
ProxyGet implements v1.PodInterface
func (*Pod) UpdateEphemeralContainers ¶
func (*Pod) UpdateEphemeralContainers(ctx context.Context, podName string, pod *v1.Pod, opts metav1.UpdateOptions) (*v1.Pod, error)
UpdateEphemeralContainers implements v1.PodInterface
type Pvc ¶
type Pvc struct{}
func (*Pvc) Apply ¶
func (*Pvc) Apply(ctx context.Context, persistentVolumeClaim *configcorev1.PersistentVolumeClaimApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PersistentVolumeClaim, err error)
Apply implements v1.PersistentVolumeClaimInterface
func (*Pvc) ApplyStatus ¶
func (*Pvc) ApplyStatus(ctx context.Context, persistentVolumeClaim *configcorev1.PersistentVolumeClaimApplyConfiguration, opts metav1.ApplyOptions) (result *v1.PersistentVolumeClaim, err error)
ApplyStatus implements v1.PersistentVolumeClaimInterface
func (*Pvc) Create ¶
func (*Pvc) Create(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, opts metav1.CreateOptions) (*v1.PersistentVolumeClaim, error)
Create implements v1.PersistentVolumeClaimInterface
func (*Pvc) DeleteCollection ¶
func (*Pvc) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.PersistentVolumeClaimInterface
func (*Pvc) Get ¶
func (*Pvc) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.PersistentVolumeClaim, error)
Get implements v1.PersistentVolumeClaimInterface
func (*Pvc) List ¶
func (*Pvc) List(ctx context.Context, opts metav1.ListOptions) (*v1.PersistentVolumeClaimList, error)
List implements v1.PersistentVolumeClaimInterface
func (*Pvc) Patch ¶
func (*Pvc) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PersistentVolumeClaim, err error)
Patch implements v1.PersistentVolumeClaimInterface
func (*Pvc) Update ¶
func (*Pvc) Update(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, opts metav1.UpdateOptions) (*v1.PersistentVolumeClaim, error)
Update implements v1.PersistentVolumeClaimInterface
func (*Pvc) UpdateStatus ¶
func (*Pvc) UpdateStatus(ctx context.Context, persistentVolumeClaim *v1.PersistentVolumeClaim, opts metav1.UpdateOptions) (*v1.PersistentVolumeClaim, error)
UpdateStatus implements v1.PersistentVolumeClaimInterface
type Secret ¶
type Secret struct{}
func (*Secret) Apply ¶
func (*Secret) Apply(ctx context.Context, secret *configcorev1.SecretApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Secret, err error)
Apply implements v1.SecretInterface
func (*Secret) Create ¶
func (*Secret) Create(ctx context.Context, secret *v1.Secret, opts metav1.CreateOptions) (*v1.Secret, error)
Create implements v1.SecretInterface
func (*Secret) DeleteCollection ¶
func (*Secret) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.SecretInterface
func (*Secret) List ¶
func (*Secret) List(ctx context.Context, opts metav1.ListOptions) (*v1.SecretList, error)
List implements v1.SecretInterface
func (*Secret) Patch ¶
func (*Secret) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Secret, err error)
Patch implements v1.SecretInterface
type Service ¶
type Service struct{}
func NewService ¶
func NewService() *Service
func (*Service) Apply ¶
func (*Service) Apply(ctx context.Context, service *configcorev1.ServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Service, err error)
Apply implements v1.ServiceInterface
func (*Service) ApplyStatus ¶
func (*Service) ApplyStatus(ctx context.Context, service *configcorev1.ServiceApplyConfiguration, opts metav1.ApplyOptions) (result *v1.Service, err error)
ApplyStatus implements v1.ServiceInterface
func (*Service) Create ¶
func (*Service) Create(ctx context.Context, service *v1.Service, opts metav1.CreateOptions) (*v1.Service, error)
Create implements v1.ServiceInterface
func (*Service) List ¶
func (*Service) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceList, error)
List implements v1.ServiceInterface
func (*Service) Patch ¶
func (*Service) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Service, err error)
Patch implements v1.ServiceInterface
func (*Service) ProxyGet ¶
func (*Service) ProxyGet(scheme string, name string, port string, path string, params map[string]string) restclient.ResponseWrapper
ProxyGet implements v1.ServiceInterface
func (*Service) Update ¶
func (*Service) Update(ctx context.Context, service *v1.Service, opts metav1.UpdateOptions) (*v1.Service, error)
Update implements v1.ServiceInterface
type ServiceAccount ¶
type ServiceAccount struct{}
func NewServiceAccount ¶
func NewServiceAccount() *ServiceAccount
func (*ServiceAccount) Apply ¶
func (*ServiceAccount) Apply(ctx context.Context, serviceAccount *configcorev1.ServiceAccountApplyConfiguration, opts metav1.ApplyOptions) (result *v1.ServiceAccount, err error)
Apply implements v1.ServiceAccountInterface
func (*ServiceAccount) Create ¶
func (*ServiceAccount) Create(ctx context.Context, serviceAccount *v1.ServiceAccount, opts metav1.CreateOptions) (*v1.ServiceAccount, error)
Create implements v1.ServiceAccountInterface
func (*ServiceAccount) CreateToken ¶
func (*ServiceAccount) CreateToken(ctx context.Context, serviceAccountName string, tokenRequest *authenticationv1.TokenRequest, opts metav1.CreateOptions) (*authenticationv1.TokenRequest, error)
CreateToken implements v1.ServiceAccountInterface
func (*ServiceAccount) Delete ¶
func (*ServiceAccount) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete implements v1.ServiceAccountInterface
func (*ServiceAccount) DeleteCollection ¶
func (*ServiceAccount) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.ServiceAccountInterface
func (*ServiceAccount) Get ¶
func (*ServiceAccount) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ServiceAccount, error)
Get implements v1.ServiceAccountInterface
func (*ServiceAccount) List ¶
func (*ServiceAccount) List(ctx context.Context, opts metav1.ListOptions) (*v1.ServiceAccountList, error)
List implements v1.ServiceAccountInterface
func (*ServiceAccount) Patch ¶
func (*ServiceAccount) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ServiceAccount, err error)
Patch implements v1.ServiceAccountInterface
func (*ServiceAccount) Update ¶
func (*ServiceAccount) Update(ctx context.Context, serviceAccount *v1.ServiceAccount, opts metav1.UpdateOptions) (*v1.ServiceAccount, error)
Update implements v1.ServiceAccountInterface
func (*ServiceAccount) Watch ¶
func (*ServiceAccount) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch implements v1.ServiceAccountInterface
type StatefulSet ¶
type StatefulSet struct {
// contains filtered or unexported fields
}
func NewStatefulSet ¶
func NewStatefulSet(ns string) *StatefulSet
func (*StatefulSet) Apply ¶
func (*StatefulSet) Apply(ctx context.Context, statefulSet *configappsv1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions) (result *v1.StatefulSet, err error)
Apply implements v1.StatefulSetInterface
func (*StatefulSet) ApplyScale ¶ added in v0.11.15
func (*StatefulSet) ApplyScale(ctx context.Context, statefulSetName string, scale *applyconfigurationsautoscalingv1.ScaleApplyConfiguration, opts metav1.ApplyOptions) (*autoscalingv1.Scale, error)
ApplyScale implements v1.StatefulSetInterface
func (*StatefulSet) ApplyStatus ¶
func (*StatefulSet) ApplyStatus(ctx context.Context, statefulSet *configappsv1.StatefulSetApplyConfiguration, opts metav1.ApplyOptions) (result *v1.StatefulSet, err error)
ApplyStatus implements v1.StatefulSetInterface
func (*StatefulSet) Create ¶
func (*StatefulSet) Create(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.CreateOptions) (*v1.StatefulSet, error)
Create implements v1.StatefulSetInterface
func (*StatefulSet) Delete ¶
func (*StatefulSet) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete implements v1.StatefulSetInterface
func (*StatefulSet) DeleteCollection ¶
func (*StatefulSet) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection implements v1.StatefulSetInterface
func (*StatefulSet) Get ¶
func (*StatefulSet) Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.StatefulSet, error)
Get implements v1.StatefulSetInterface
func (*StatefulSet) GetScale ¶
func (*StatefulSet) GetScale(ctx context.Context, statefulSetName string, options metav1.GetOptions) (*autoscalingv1.Scale, error)
GetScale implements v1.StatefulSetInterface
func (*StatefulSet) List ¶
func (ss *StatefulSet) List(ctx context.Context, opts metav1.ListOptions) (*v1.StatefulSetList, error)
List implements v1.StatefulSetInterface
func (*StatefulSet) Patch ¶
func (*StatefulSet) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.StatefulSet, err error)
Patch implements v1.StatefulSetInterface
func (*StatefulSet) Update ¶
func (*StatefulSet) Update(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.UpdateOptions) (*v1.StatefulSet, error)
Update implements v1.StatefulSetInterface
func (*StatefulSet) UpdateScale ¶
func (*StatefulSet) UpdateScale(ctx context.Context, statefulSetName string, scale *autoscalingv1.Scale, opts metav1.UpdateOptions) (*autoscalingv1.Scale, error)
UpdateScale implements v1.StatefulSetInterface
func (*StatefulSet) UpdateStatus ¶
func (*StatefulSet) UpdateStatus(ctx context.Context, statefulSet *v1.StatefulSet, opts metav1.UpdateOptions) (*v1.StatefulSet, error)
UpdateStatus implements v1.StatefulSetInterface
func (*StatefulSet) Watch ¶
func (*StatefulSet) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch implements v1.StatefulSetInterface