Versions in this module Expand all Collapse all v0 v0.2.0 Jun 17, 2019 v0.1.0 Jun 12, 2019 Changes in this version + func CreateClusterRole(contextName string, clusterRole *rbacv1.ClusterRole) (*rbacv1.ClusterRole, error) + func CreateClusterRoleBinding(contextName string, clusterRoleBinding *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error) + func CreateConfigMap(contextName string, namespace string, configMap *corev1.ConfigMap) (*corev1.ConfigMap, error) + func CreateCronJob(contextName string, namespace string, cronJob *batchv1beta1.CronJob) (*batchv1beta1.CronJob, error) + func CreateDaemonSet(contextName string, namespace string, daemonSet *appsv1.DaemonSet) (*appsv1.DaemonSet, error) + func CreateDeployment(contextName string, namespace string, deployment *appsv1.Deployment) (*appsv1.Deployment, error) + func CreateJob(contextName string, namespace string, job *batchv1.Job) (*batchv1.Job, error) + func CreateNamespace(contextName string, namespace *corev1.Namespace) (*corev1.Namespace, error) + func CreateNetworkPolicy(contextName string, namespace string, ...) (*networkingv1.NetworkPolicy, error) + func CreateNode(contextName string, node *corev1.Node) (*corev1.Node, error) + func CreatePersistentVolume(contextName string, persistentVolume *corev1.PersistentVolume) (*corev1.PersistentVolume, error) + func CreatePersistentVolumeClaim(contextName string, namespace string, ...) (*corev1.PersistentVolumeClaim, error) + func CreatePod(contextName string, namespace string, pod *corev1.Pod) (*corev1.Pod, error) + func CreateReplicaSet(contextName string, namespace string, replicaSet *appsv1.ReplicaSet) (*appsv1.ReplicaSet, error) + func CreateReplicationController(contextName string, namespace string, ...) (*corev1.ReplicationController, error) + func CreateRole(contextName string, namespace string, role *rbacv1.Role) (*rbacv1.Role, error) + func CreateRoleBinding(contextName string, namespace string, roleBinding *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error) + func CreateSecret(contextName string, namespace string, secret *corev1.Secret) (*corev1.Secret, error) + func CreateService(contextName string, namespace string, service *corev1.Service) (*corev1.Service, error) + func CreateServiceAccount(contextName string, namespace string, serviceAccount *corev1.ServiceAccount) (*corev1.ServiceAccount, error) + func CreateStatefulSet(contextName string, namespace string, statefulSet *appsv1.StatefulSet) (*appsv1.StatefulSet, error) + func CreateStorageClass(contextName string, storageClass *storagev1.StorageClass) (*storagev1.StorageClass, error) + func DeleteClusterRole(contextName string, name string) error + func DeleteClusterRoleBinding(contextName string, name string) error + func DeleteConfigMap(contextName string, namespace string, name string) error + func DeleteCronJob(contextName string, namespace string, name string) error + func DeleteDaemonSet(contextName string, namespace string, name string) error + func DeleteDeployment(contextName string, namespace string, name string) error + func DeleteJob(contextName string, namespace string, name string) error + func DeleteNamespace(contextName string, name string) error + func DeleteNetworkPolicy(contextName string, namespace string, name string) error + func DeleteNode(contextName string, name string) error + func DeletePersistentVolume(contextName string, name string) error + func DeletePersistentVolumeClaim(contextName string, namespace string, name string) error + func DeletePod(contextName string, namespace string, name string) error + func DeleteReplicaSet(contextName string, namespace string, name string) error + func DeleteReplicationController(contextName string, namespace string, name string) error + func DeleteRole(contextName string, namespace string, name string) error + func DeleteRoleBinding(contextName string, namespace string, name string) error + func DeleteSecret(contextName string, namespace string, name string) error + func DeleteService(contextName string, namespace string, name string) error + func DeleteServiceAccount(contextName string, namespace string, name string) error + func DeleteStatefulSet(contextName string, namespace string, name string) error + func DeleteStorageClass(contextName string, name string) error + func GetClusterRole(contextName string, name string) (*rbacv1.ClusterRole, error) + func GetClusterRoleBinding(contextName string, name string) (*rbacv1.ClusterRoleBinding, error) + func GetClusterRoleBindings(contextName string) ([]rbacv1.ClusterRoleBinding, error) + func GetClusterRoles(contextName string) ([]rbacv1.ClusterRole, error) + func GetConfigMap(contextName string, namespace string, name string) (*corev1.ConfigMap, error) + func GetConfigMaps(contextName string, namespace string) ([]corev1.ConfigMap, error) + func GetCronJob(contextName string, namespace string, name string) (*batchv1beta1.CronJob, error) + func GetCronJobs(contextName string, namespace string) ([]batchv1beta1.CronJob, error) + func GetDaemonSet(contextName string, namespace string, name string) (*appsv1.DaemonSet, error) + func GetDaemonSets(contextName string, namespace string) ([]appsv1.DaemonSet, error) + func GetDeployment(contextName string, namespace string, name string) (*appsv1.Deployment, error) + func GetDeployments(contextName string, namespace string) ([]appsv1.Deployment, error) + func GetJob(contextName string, namespace string, name string) (*batchv1.Job, error) + func GetJobs(contextName string, namespace string) ([]batchv1.Job, error) + func GetNamespace(contextName string, name string) (*corev1.Namespace, error) + func GetNamespaces(contextName string) ([]corev1.Namespace, error) + func GetNetworkPolicies(contextName string, namespace string) ([]networkingv1.NetworkPolicy, error) + func GetNetworkPolicy(contextName string, namespace string, name string) (*networkingv1.NetworkPolicy, error) + func GetNode(contextName string, name string) (*corev1.Node, error) + func GetNodeMetrics(contextName string, name string) (*metricsv1beta1.NodeMetrics, error) + func GetNodeMetricses(contextName string) ([]metricsv1beta1.NodeMetrics, error) + func GetNodes(contextName string) ([]corev1.Node, error) + func GetPersistentVolume(contextName string, name string) (*corev1.PersistentVolume, error) + func GetPersistentVolumeClaim(contextName string, namespace string, name string) (*corev1.PersistentVolumeClaim, error) + func GetPersistentVolumeClaims(contextName string, namespace string) ([]corev1.PersistentVolumeClaim, error) + func GetPersistentVolumes(contextName string) ([]corev1.PersistentVolume, error) + func GetPod(contextName string, namespace string, name string) (*corev1.Pod, error) + func GetPodMetrics(contextName string, namespace string, name string) (*metricsv1beta1.PodMetrics, error) + func GetPodMetricses(contextName string, namespace string) ([]metricsv1beta1.PodMetrics, error) + func GetPods(contextName string, namespace string) ([]corev1.Pod, error) + func GetReplicaSet(contextName string, namespace string, name string) (*appsv1.ReplicaSet, error) + func GetReplicaSets(contextName string, namespace string) ([]appsv1.ReplicaSet, error) + func GetReplicationController(contextName string, namespace string, name string) (*corev1.ReplicationController, error) + func GetReplicationControllers(contextName string, namespace string) ([]corev1.ReplicationController, error) + func GetRole(contextName string, namespace string, name string) (*rbacv1.Role, error) + func GetRoleBinding(contextName string, namespace string, name string) (*rbacv1.RoleBinding, error) + func GetRoleBindings(contextName string, namespace string) ([]rbacv1.RoleBinding, error) + func GetRoles(contextName string, namespace string) ([]rbacv1.Role, error) + func GetSecret(contextName string, namespace string, name string) (*corev1.Secret, error) + func GetSecrets(contextName string, namespace string) ([]corev1.Secret, error) + func GetService(contextName string, namespace string, name string) (*corev1.Service, error) + func GetServiceAccount(contextName string, namespace string, name string) (*corev1.ServiceAccount, error) + func GetServiceAccounts(contextName string, namespace string) ([]corev1.ServiceAccount, error) + func GetServices(contextName string, namespace string) ([]corev1.Service, error) + func GetStatefulSet(contextName string, namespace string, name string) (*appsv1.StatefulSet, error) + func GetStatefulSets(contextName string, namespace string) ([]appsv1.StatefulSet, error) + func GetStorageClass(contextName string, name string) (*storagev1.StorageClass, error) + func GetStorageClasses(contextName string) ([]storagev1.StorageClass, error) + func UpdateClusterRole(contextName string, clusterRole *rbacv1.ClusterRole) (*rbacv1.ClusterRole, error) + func UpdateClusterRoleBinding(contextName string, clusterRoleBinding *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error) + func UpdateConfigMap(contextName string, namespace string, configMap *corev1.ConfigMap) (*corev1.ConfigMap, error) + func UpdateCronJob(contextName string, namespace string, cronJob *batchv1beta1.CronJob) (*batchv1beta1.CronJob, error) + func UpdateDaemonSet(contextName string, namespace string, daemonSet *appsv1.DaemonSet) (*appsv1.DaemonSet, error) + func UpdateDeployment(contextName string, namespace string, deployment *appsv1.Deployment) (*appsv1.Deployment, error) + func UpdateJob(contextName string, namespace string, job *batchv1.Job) (*batchv1.Job, error) + func UpdateNamespace(contextName string, namespace *corev1.Namespace) (*corev1.Namespace, error) + func UpdateNetworkPolicy(contextName string, namespace string, ...) (*networkingv1.NetworkPolicy, error) + func UpdateNode(contextName string, node *corev1.Node) (*corev1.Node, error) + func UpdatePersistentVolume(contextName string, persistentVolume *corev1.PersistentVolume) (*corev1.PersistentVolume, error) + func UpdatePersistentVolumeClaim(contextName string, namespace string, ...) (*corev1.PersistentVolumeClaim, error) + func UpdatePod(contextName string, namespace string, pod *corev1.Pod) (*corev1.Pod, error) + func UpdateReplicaSet(contextName string, namespace string, replicaSet *appsv1.ReplicaSet) (*appsv1.ReplicaSet, error) + func UpdateReplicationController(contextName string, namespace string, ...) (*corev1.ReplicationController, error) + func UpdateRole(contextName string, namespace string, role *rbacv1.Role) (*rbacv1.Role, error) + func UpdateRoleBinding(contextName string, namespace string, roleBinding *rbacv1.RoleBinding) (*rbacv1.RoleBinding, error) + func UpdateSecret(contextName string, namespace string, secret *corev1.Secret) (*corev1.Secret, error) + func UpdateService(contextName string, namespace string, service *corev1.Service) (*corev1.Service, error) + func UpdateServiceAccount(contextName string, namespace string, serviceAccount *corev1.ServiceAccount) (*corev1.ServiceAccount, error) + func UpdateStatefulSet(contextName string, namespace string, statefulSet *appsv1.StatefulSet) (*appsv1.StatefulSet, error) + func UpdateStorageClass(contextName string, storageClass *storagev1.StorageClass) (*storagev1.StorageClass, error)