Documentation ¶
Index ¶
- Constants
- func ChangeSetEntry(m *ssa.ResourceManager, o *unstructured.Unstructured, action ssa.Action) *ssa.ChangeSetEntry
- func ConfigureComponent()
- func ToUnstructured(obj runtime.Object) (*unstructured.Unstructured, error)
- func WaitForComponent(Component) error
- type BasicComponent
- func (c *BasicComponent) Apply(ctx context.Context, manager *ssa.ResourceManager) error
- func (c *BasicComponent) Check() error
- func (c *BasicComponent) Create(ctx context.Context, manager *ssa.ResourceManager) (*ssa.ChangeSet, error)
- func (c *BasicComponent) GetName() string
- func (c *BasicComponent) KSPath() string
- func (c *BasicComponent) Reconcile(ctx context.Context, manager *ssa.ResourceManager) (*ssa.ChangeSet, error)
- func (c *BasicComponent) Resources(scheme *runtime.Scheme) []runtime.Object
- func (c *BasicComponent) Wait(ctx context.Context, manager *ssa.ResourceManager) error
- type ClusterSettings
- type Component
- type Model
- type Scope
- type ScopeModel
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ChangeSetEntry ¶
func ChangeSetEntry(m *ssa.ResourceManager, o *unstructured.Unstructured, action ssa.Action) *ssa.ChangeSetEntry
func ConfigureComponent ¶
func ConfigureComponent()
func ToUnstructured ¶
func ToUnstructured(obj runtime.Object) (*unstructured.Unstructured, error)
func WaitForComponent ¶
Types ¶
type BasicComponent ¶
type BasicComponent struct { Name string `json:"name,omitempty"` Source string `json:"source,omitempty"` Type string `json:"type,omitempty"` DependsOn []meta.NamespacedObjectReference `json:"dependsOn,omitempty"` Scope string `json:"scope,omitempty"` Required bool `json:"required,omitempty"` AdminCreds bool `json:"adminCreds,omitempty"` }
func (*BasicComponent) Apply ¶
func (c *BasicComponent) Apply(ctx context.Context, manager *ssa.ResourceManager) error
func (*BasicComponent) Check ¶
func (c *BasicComponent) Check() error
func (*BasicComponent) Create ¶
func (c *BasicComponent) Create(ctx context.Context, manager *ssa.ResourceManager) (*ssa.ChangeSet, error)
func (*BasicComponent) GetName ¶
func (c *BasicComponent) GetName() string
func (*BasicComponent) KSPath ¶
func (c *BasicComponent) KSPath() string
func (*BasicComponent) Reconcile ¶
func (c *BasicComponent) Reconcile(ctx context.Context, manager *ssa.ResourceManager) (*ssa.ChangeSet, error)
func (*BasicComponent) Resources ¶
func (c *BasicComponent) Resources(scheme *runtime.Scheme) []runtime.Object
func (*BasicComponent) Wait ¶
func (c *BasicComponent) Wait(ctx context.Context, manager *ssa.ResourceManager) error
type ClusterSettings ¶
type Scope ¶
type Scope interface { Stage() (Model, error) SetManager(m *ssa.ResourceManager) Init() error }
type ScopeModel ¶
type ScopeModel struct { Components []string Done *bool Manager *ssa.ResourceManager }
func NewScopeModel ¶
func NewScopeModel(m *ssa.ResourceManager) *ScopeModel
func (*ScopeModel) SetManager ¶
func (s *ScopeModel) SetManager(m *ssa.ResourceManager)
Click to show internal directories.
Click to hide internal directories.