Documentation
¶
Index ¶
- func MutateConfigMap(ctx context.Context, cm ConfigMap, fn func(cm *corev1.ConfigMap)) (*corev1.ConfigMap, error)
- type ActionStatusManager
- type ClientConfigMap
- type ConditionManager
- type ConfigMap
- type ControllerRuntimeConfigMap
- type EnvironmentManager
- type KVConfigMap
- func (kcm *KVConfigMap) Get(ctx context.Context, key string) (interface{}, error)
- func (kcm *KVConfigMap) Insert(ctx context.Context, key string, value interface{}) (bool, error)
- func (kcm *KVConfigMap) List(ctx context.Context, prefix string) (map[string]interface{}, error)
- func (kcm *KVConfigMap) Set(ctx context.Context, key string, value interface{}) error
- type LocalConfigMap
- type ParameterManager
- type SpecManager
- type StateManager
- type StepDecoratorManager
- type StepMessageManager
- type StepOutputManager
- func (m *StepOutputManager) Get(ctx context.Context, stepName, name string) (*model.StepOutput, error)
- func (m *StepOutputManager) List(ctx context.Context) ([]*model.StepOutput, error)
- func (m *StepOutputManager) ListSelf(ctx context.Context) ([]*model.StepOutput, error)
- func (m *StepOutputManager) Set(ctx context.Context, name string, value interface{}) error
- func (m *StepOutputManager) SetMetadata(ctx context.Context, name string, metadata *model.StepOutputMetadata) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionStatusManager ¶
type ActionStatusManager struct {
// contains filtered or unexported fields
}
func NewActionStatusManager ¶
func NewActionStatusManager(action model.Action, cm ConfigMap) *ActionStatusManager
func (*ActionStatusManager) Get ¶
func (m *ActionStatusManager) Get(ctx context.Context, action model.Action) (*model.ActionStatus, error)
func (*ActionStatusManager) List ¶
func (m *ActionStatusManager) List(ctx context.Context) ([]*model.ActionStatus, error)
func (*ActionStatusManager) Set ¶
func (m *ActionStatusManager) Set(ctx context.Context, as *model.ActionStatus) error
type ClientConfigMap ¶
type ClientConfigMap struct {
// contains filtered or unexported fields
}
func NewClientConfigMap ¶
func NewClientConfigMap(client kubernetes.Interface, namespace, name string) *ClientConfigMap
func (*ClientConfigMap) CreateOrUpdate ¶
type ConditionManager ¶
type ConditionManager struct {
// contains filtered or unexported fields
}
func NewConditionManager ¶
func NewConditionManager(action model.Action, cm ConfigMap) *ConditionManager
type ControllerRuntimeConfigMap ¶
type ControllerRuntimeConfigMap struct {
// contains filtered or unexported fields
}
func NewControllerRuntimeConfigMap ¶
func NewControllerRuntimeConfigMap(cl client.Client, key client.ObjectKey) *ControllerRuntimeConfigMap
func (*ControllerRuntimeConfigMap) CreateOrUpdate ¶
type EnvironmentManager ¶
type EnvironmentManager struct {
// contains filtered or unexported fields
}
func NewEnvironmentManager ¶
func NewEnvironmentManager(action model.Action, cm ConfigMap) *EnvironmentManager
func (*EnvironmentManager) Get ¶
func (m *EnvironmentManager) Get(ctx context.Context) (*model.Environment, error)
func (*EnvironmentManager) Set ¶
func (m *EnvironmentManager) Set(ctx context.Context, value map[string]any) (*model.Environment, error)
type KVConfigMap ¶
type KVConfigMap struct {
// contains filtered or unexported fields
}
func NewKVConfigMap ¶
func NewKVConfigMap(backend ConfigMap) *KVConfigMap
func (*KVConfigMap) Get ¶
func (kcm *KVConfigMap) Get(ctx context.Context, key string) (interface{}, error)
type LocalConfigMap ¶
type LocalConfigMap struct {
// contains filtered or unexported fields
}
func NewLocalConfigMap ¶
func NewLocalConfigMap(delegate *corev1.ConfigMap) *LocalConfigMap
func (*LocalConfigMap) CreateOrUpdate ¶
type ParameterManager ¶
type ParameterManager struct {
// contains filtered or unexported fields
}
func NewParameterManager ¶
func NewParameterManager(cm ConfigMap) *ParameterManager
type SpecManager ¶
type SpecManager struct {
// contains filtered or unexported fields
}
func NewSpecManager ¶
func NewSpecManager(action model.Action, cm ConfigMap) *SpecManager
type StateManager ¶
type StateManager struct {
// contains filtered or unexported fields
}
func NewStateManager ¶
func NewStateManager(action model.Action, cm ConfigMap) *StateManager
type StepDecoratorManager ¶
type StepDecoratorManager struct {
// contains filtered or unexported fields
}
func NewStepDecoratorManager ¶
func NewStepDecoratorManager(step *model.Step, cm ConfigMap) *StepDecoratorManager
func (*StepDecoratorManager) List ¶
func (m *StepDecoratorManager) List(ctx context.Context) ([]*model.StepDecorator, error)
type StepMessageManager ¶
type StepMessageManager struct {
// contains filtered or unexported fields
}
func NewStepMessageManager ¶
func NewStepMessageManager(step *model.Step, cm ConfigMap) *StepMessageManager
func (*StepMessageManager) List ¶
func (m *StepMessageManager) List(ctx context.Context) ([]*model.StepMessage, error)
func (*StepMessageManager) Set ¶
func (m *StepMessageManager) Set(ctx context.Context, sm *model.StepMessage) error
type StepOutputManager ¶
type StepOutputManager struct {
// contains filtered or unexported fields
}
func NewStepOutputManager ¶
func NewStepOutputManager(step *model.Step, cm ConfigMap) *StepOutputManager
func (*StepOutputManager) Get ¶
func (m *StepOutputManager) Get(ctx context.Context, stepName, name string) (*model.StepOutput, error)
func (*StepOutputManager) List ¶
func (m *StepOutputManager) List(ctx context.Context) ([]*model.StepOutput, error)
func (*StepOutputManager) ListSelf ¶
func (m *StepOutputManager) ListSelf(ctx context.Context) ([]*model.StepOutput, error)
func (*StepOutputManager) Set ¶
func (m *StepOutputManager) Set(ctx context.Context, name string, value interface{}) error
func (*StepOutputManager) SetMetadata ¶
func (m *StepOutputManager) SetMetadata(ctx context.Context, name string, metadata *model.StepOutputMetadata) error
Click to show internal directories.
Click to hide internal directories.