Documentation ¶
Index ¶
- func AlertManagerConfig(name, url string, labels map[string]string) *v1alpha1.AlertmanagerConfig
- func BoolPtr(val bool) *bool
- func CopyDeploymentSetFields(from, to *appsv1.Deployment) bool
- func CopyNamespace(from, to *corev1.Namespace) bool
- func CopyNetworkPolicy(from, to *networkv1.NetworkPolicy) bool
- func CopyRoleBinding(from, to *rbacv1.RoleBinding) bool
- func CopyServiceAccount(from, to *corev1.ServiceAccount) bool
- func CopyServiceFields(from, to *corev1.Service) bool
- func CopyStatefulSetFields(from, to *appsv1.StatefulSet) bool
- func CopyStorageClass(from, to *storagev1.StorageClass) bool
- func Deployment(ctx context.Context, r client.Client, deployment *appsv1.Deployment, ...) error
- func Namespace(ctx context.Context, r client.Client, namespace *corev1.Namespace, ...) error
- func NetworkPolicy(ctx context.Context, r client.Client, networkPolicy *networkv1.NetworkPolicy, ...) error
- func RoleBinding(ctx context.Context, r client.Client, roleBinding *rbacv1.RoleBinding, ...) error
- func Service(ctx context.Context, r client.Client, service *corev1.Service, log logr.Logger) error
- func ServiceAccount(ctx context.Context, r client.Client, serviceAccount *corev1.ServiceAccount, ...) error
- func StorageClass(ctx context.Context, r client.Client, storageClass *storagev1.StorageClass, ...) error
- func StringPtr(val string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertManagerConfig ¶
func AlertManagerConfig(name, url string, labels map[string]string) *v1alpha1.AlertmanagerConfig
func CopyDeploymentSetFields ¶
func CopyDeploymentSetFields(from, to *appsv1.Deployment) bool
func CopyNamespace ¶
CopyNamespace copies the owned fields from one Namespace to another
func CopyNetworkPolicy ¶
func CopyNetworkPolicy(from, to *networkv1.NetworkPolicy) bool
CopyNetworkPolicy copies the owned fields from one NetworkPolicy to another
func CopyRoleBinding ¶
func CopyRoleBinding(from, to *rbacv1.RoleBinding) bool
CopyRoleBinding copies the owned fields from one Role Binding to another
func CopyServiceAccount ¶
func CopyServiceAccount(from, to *corev1.ServiceAccount) bool
CopyServiceAccount copies the owned fields from one Service Account to another
func CopyServiceFields ¶
CopyServiceFields copies the owned fields from one Service to another
func CopyStatefulSetFields ¶
func CopyStatefulSetFields(from, to *appsv1.StatefulSet) bool
CopyStatefulSetFields copies the owned fields from one StatefulSet to another Returns true if the fields copied from don't match to.
func CopyStorageClass ¶
func CopyStorageClass(from, to *storagev1.StorageClass) bool
CopyStorageClass copies the owned fields from one StorageClass to another
func Deployment ¶
func Deployment(ctx context.Context, r client.Client, deployment *appsv1.Deployment, log logr.Logger) error
Deployment reconciles a k8s deployment object.
func Namespace ¶
func Namespace(ctx context.Context, r client.Client, namespace *corev1.Namespace, log logr.Logger) error
Namespace reconciles a Namespace object.
func NetworkPolicy ¶
func NetworkPolicy(ctx context.Context, r client.Client, networkPolicy *networkv1.NetworkPolicy, log logr.Logger) error
NetworkPolicy reconciles a NetworkPolicy object.
func RoleBinding ¶
func RoleBinding(ctx context.Context, r client.Client, roleBinding *rbacv1.RoleBinding, log logr.Logger) error
RoleBinding reconciles a Role Binding object.
func ServiceAccount ¶
func ServiceAccount(ctx context.Context, r client.Client, serviceAccount *corev1.ServiceAccount, log logr.Logger) error
ServiceAccount reconciles a Service Account object.
Types ¶
This section is empty.