Documentation ¶
Index ¶
- func CreateConfigMap(namespace, name, configData string) *corev1.ConfigMap
- type Manifests
- func (mf Manifests) Clone() Manifests
- func (mf Manifests) Render(options RenderOptions) (Manifests, error)
- func (mf Manifests) ToCreatableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject
- func (mf Manifests) ToDeletableObjects(cli client.Client, log logr.Logger) []deployer.WaitableObject
- func (mf Manifests) ToObjects() []client.Object
- type RenderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigMap ¶ added in v0.2.0
Types ¶
type Manifests ¶
type Manifests struct { ServiceAccount *corev1.ServiceAccount Role *rbacv1.Role RoleBinding *rbacv1.RoleBinding ClusterRole *rbacv1.ClusterRole ClusterRoleBinding *rbacv1.ClusterRoleBinding ConfigMap *corev1.ConfigMap DaemonSet *appsv1.DaemonSet // OpenShift related components MachineConfig *machineconfigv1.MachineConfig SecurityContextConstraint *securityv1.SecurityContextConstraints // contains filtered or unexported fields }
func GetManifests ¶
func (Manifests) Render ¶ added in v0.2.0
func (mf Manifests) Render(options RenderOptions) (Manifests, error)
func (Manifests) ToCreatableObjects ¶
func (Manifests) ToDeletableObjects ¶
type RenderOptions ¶ added in v0.2.0
type RenderOptions struct { // DaemonSet options PullIfNotPresent bool NodeSelector *metav1.LabelSelector // MachineConfig options MachineConfigPoolSelector *metav1.LabelSelector // Config Map options ConfigData string // General options Namespace string Name string }
Click to show internal directories.
Click to hide internal directories.