Documentation
¶
Index ¶
Constants ¶
View Source
const ( KubeSystemNamespace = "kube-system" CrossplaneSystemNamespace = "crossplane-system" KrateoSystemNamespace = "krateo-system" LabelManagedBy = "app.kubernetes.io/managed-by" DefaultFieldManager = "krateoplatformops" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleBindingsClient ¶
type ClusterRoleBindingsClient interface { Get(name string) (*rbacv1.ClusterRoleBinding, error) Create(crb *rbacv1.ClusterRoleBinding) (*rbacv1.ClusterRoleBinding, error) Delete(name string) error DeleteCollection(opts metav1.DeleteOptions, listOpts metav1.ListOptions) error }
func ClusterRoleBindings ¶
func ClusterRoleBindings(c *rest.Config) (ClusterRoleBindingsClient, error)
type CrdsClient ¶
type CrdsClient interface { Get(name string, opts metav1.GetOptions) (*apiextensionsv1.CustomResourceDefinition, error) List(opts metav1.ListOptions) (*apiextensionsv1.CustomResourceDefinitionList, error) Patch(name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (*apiextensionsv1.CustomResourceDefinition, error) Delete(name string, opts metav1.DeleteOptions) error DeleteCollection(opts metav1.DeleteOptions, listOpts metav1.ListOptions) error }
type NamespacesClient ¶
type NamespacesClient interface { Get(name string, opts metav1.GetOptions) (*corev1.Namespace, error) Create(name string) (*corev1.Namespace, error) Update(item *corev1.Namespace, opts metav1.UpdateOptions) (*corev1.Namespace, error) Delete(name string, opts metav1.DeleteOptions) error Finalize(item *corev1.Namespace, opts metav1.UpdateOptions) (*corev1.Namespace, error) }
func Namespaces ¶
func Namespaces(c *rest.Config) (NamespacesClient, error)
type SecretsClient ¶
type SecretsClient interface { Get(name, namespace string, opts metav1.GetOptions) (*corev1.Secret, error) Create(namespace string, secret *corev1.Secret, opts metav1.CreateOptions) (*corev1.Secret, error) Delete(name, namespace string, opts metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*corev1.SecretList, error) }
type ServiceAccountsClient ¶
type ServiceAccountsClient interface { List(namespace string) ([]string, error) Get(name, namespace string, opts metav1.GetOptions) (*corev1.ServiceAccount, error) }
func ServiceAccounts ¶
func ServiceAccounts(c *rest.Config) (ServiceAccountsClient, error)
Click to show internal directories.
Click to hide internal directories.