Documentation ¶
Index ¶
- Constants
- func EnvSources(refs []v1alpha2.EnvReference) []v1.EnvFromSource
- func FileToVolume(f v1alpha2.File) (v1.Volume, v1.VolumeMount)
- func FilesToVolumes(files []v1alpha2.File) ([]v1.Volume, []v1.VolumeMount)
- func GetDefaultPipelineSteps(ctx context.Context, capSvc capabilities.Service, cfg *v1alpha1.OperatorConfig) ([]pipeline.Step, error)
- type CapsuleReconciler
- type CronJobStep
- type DeploymentStep
- type NetworkStep
- type ServiceAccountStep
- type ServiceMonitorStep
- type VPAStep
Constants ¶
View Source
const ( AnnotationChecksumFiles = "rig.dev/config-checksum-files" AnnotationChecksumAutoEnv = "rig.dev/config-checksum-auto-env" AnnotationChecksumEnv = "rig.dev/config-checksum-env" AnnotationOverrideOwnership = "rig.dev/override-ownership" LabelCapsule = "rig.dev/capsule" LabelCron = "batch.kubernets.io/cronjob" )
View Source
const (
RigDevRolloutLabel = "rig.dev/rollout"
)
Variables ¶
This section is empty.
Functions ¶
func EnvSources ¶ added in v1.7.0
func EnvSources(refs []v1alpha2.EnvReference) []v1.EnvFromSource
func FileToVolume ¶ added in v1.7.0
func FilesToVolumes ¶ added in v1.7.0
func GetDefaultPipelineSteps ¶ added in v1.7.0
func GetDefaultPipelineSteps( ctx context.Context, capSvc capabilities.Service, cfg *v1alpha1.OperatorConfig, ) ([]pipeline.Step, error)
Types ¶
type CapsuleReconciler ¶
type CapsuleReconciler struct { client.Client Scheme *runtime.Scheme Config *configv1alpha1.OperatorConfig ClientSet clientset.Interface CapabilitiesService capabilities.Service Pipeline *pipeline.Pipeline PluginManager *plugin.Manager }
CapsuleReconciler reconciles a Capsule object
func (*CapsuleReconciler) Reconcile ¶
Reconcile compares the state specified by the Capsule object against the actual cluster state, and then performs operations to make the cluster state reflect the state specified by the Capsule.
func (*CapsuleReconciler) SetupWithManager ¶
SetupWithManager sets up the controller with the Manager.
type CronJobStep ¶ added in v1.6.4
type CronJobStep struct{}
func NewCronJobStep ¶ added in v1.6.4
func NewCronJobStep() *CronJobStep
func (*CronJobStep) Apply ¶ added in v1.6.4
func (s *CronJobStep) Apply(_ context.Context, req pipeline.CapsuleRequest) error
type DeploymentStep ¶ added in v1.6.4
type DeploymentStep struct{}
func NewDeploymentStep ¶ added in v1.6.4
func NewDeploymentStep() *DeploymentStep
func (*DeploymentStep) Apply ¶ added in v1.6.4
func (s *DeploymentStep) Apply(ctx context.Context, req pipeline.CapsuleRequest) error
type NetworkStep ¶ added in v1.6.4
type NetworkStep struct {
// contains filtered or unexported fields
}
func NewNetworkStep ¶ added in v1.6.4
func NewNetworkStep(cfg *v1alpha1.OperatorConfig) *NetworkStep
func (*NetworkStep) Apply ¶ added in v1.6.4
func (s *NetworkStep) Apply(_ context.Context, req pipeline.CapsuleRequest) error
type ServiceAccountStep ¶ added in v1.6.4
type ServiceAccountStep struct{}
func NewServiceAccountStep ¶ added in v1.6.4
func NewServiceAccountStep() *ServiceAccountStep
func (*ServiceAccountStep) Apply ¶ added in v1.6.4
func (s *ServiceAccountStep) Apply(_ context.Context, req pipeline.CapsuleRequest) error
type ServiceMonitorStep ¶ added in v1.6.4
type ServiceMonitorStep struct {
// contains filtered or unexported fields
}
func NewServiceMonitorStep ¶ added in v1.6.4
func NewServiceMonitorStep(cfg *v1alpha1.OperatorConfig) *ServiceMonitorStep
func (*ServiceMonitorStep) Apply ¶ added in v1.6.4
func (s *ServiceMonitorStep) Apply(_ context.Context, req pipeline.CapsuleRequest) error
type VPAStep ¶ added in v1.6.4
type VPAStep struct {
// contains filtered or unexported fields
}
func NewVPAStep ¶ added in v1.6.4
func NewVPAStep(cfg *v1alpha1.OperatorConfig) *VPAStep
Source Files ¶
Click to show internal directories.
Click to hide internal directories.