Documentation ¶
Index ¶
- type APIProxy
- type Chyt
- func (c *Chyt) APIProxy() APIProxy
- func (c *Chyt) GetResource() *ytv1.Chyt
- func (c *Chyt) IsStatusConditionFalse(conditionType string) bool
- func (c *Chyt) IsStatusConditionTrue(conditionType string) bool
- func (c *Chyt) SaveReleaseStatus(ctx context.Context, releaseStatus ytv1.ChytReleaseStatus) error
- func (c *Chyt) SetStatusCondition(condition metav1.Condition)
- type ConditionManager
- type Spyt
- func (c *Spyt) APIProxy() APIProxy
- func (c *Spyt) GetResource() *ytv1.Spyt
- func (c *Spyt) IsStatusConditionFalse(conditionType string) bool
- func (c *Spyt) IsStatusConditionTrue(conditionType string) bool
- func (c *Spyt) SaveReleaseStatus(ctx context.Context, releaseStatus ytv1.SpytReleaseStatus) error
- func (c *Spyt) SetStatusCondition(condition metav1.Condition)
- type Ytsaurus
- func (c *Ytsaurus) APIProxy() APIProxy
- func (c *Ytsaurus) ClearUpdateStatus(ctx context.Context) error
- func (c *Ytsaurus) GetClusterState() ytv1.ClusterState
- func (c *Ytsaurus) GetCommonSpec() ytv1.CommonSpec
- func (c *Ytsaurus) GetLocalUpdatingComponents() []string
- func (c *Ytsaurus) GetResource() *ytv1.Ytsaurus
- func (c *Ytsaurus) GetUpdateFlow() ytv1.UpdateFlow
- func (c *Ytsaurus) GetUpdateState() ytv1.UpdateState
- func (c *Ytsaurus) IsStatusConditionFalse(conditionType string) bool
- func (c *Ytsaurus) IsStatusConditionTrue(conditionType string) bool
- func (c *Ytsaurus) IsUpdateStatusConditionTrue(condition string) bool
- func (c *Ytsaurus) IsUpdating() bool
- func (c *Ytsaurus) LogUpdate(ctx context.Context, message string)
- func (c *Ytsaurus) SaveClusterState(ctx context.Context, clusterState ytv1.ClusterState) error
- func (c *Ytsaurus) SaveUpdateState(ctx context.Context, updateState ytv1.UpdateState) error
- func (c *Ytsaurus) SaveUpdatingClusterState(ctx context.Context, flow ytv1.UpdateFlow, components []string) error
- func (c *Ytsaurus) SetStatusCondition(condition metav1.Condition)
- func (c *Ytsaurus) SetUpdateStatusCondition(ctx context.Context, condition metav1.Condition)
- func (c *Ytsaurus) SyncObservedGeneration() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIProxy ¶
type APIProxy interface { Client() client.Client FetchObject(ctx context.Context, name string, obj client.Object) error ListObjects(ctx context.Context, objList client.ObjectList, opts ...client.ListOption) error RecordWarning(reason, message string) RecordNormal(reason, message string) SyncObject(ctx context.Context, oldObj, newObj client.Object) error DeleteObject(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error UpdateStatus(ctx context.Context) error }
type Chyt ¶
type Chyt struct {
// contains filtered or unexported fields
}
func (*Chyt) GetResource ¶
func (*Chyt) IsStatusConditionFalse ¶
func (*Chyt) IsStatusConditionTrue ¶
func (*Chyt) SaveReleaseStatus ¶
func (*Chyt) SetStatusCondition ¶
type ConditionManager ¶
type Spyt ¶
type Spyt struct {
// contains filtered or unexported fields
}
func (*Spyt) GetResource ¶
func (*Spyt) IsStatusConditionFalse ¶
func (*Spyt) IsStatusConditionTrue ¶
func (*Spyt) SaveReleaseStatus ¶
func (*Spyt) SetStatusCondition ¶
type Ytsaurus ¶
type Ytsaurus struct {
// contains filtered or unexported fields
}
func NewYtsaurus ¶
func (*Ytsaurus) ClearUpdateStatus ¶
func (*Ytsaurus) GetClusterState ¶
func (c *Ytsaurus) GetClusterState() ytv1.ClusterState
func (*Ytsaurus) GetCommonSpec ¶
func (c *Ytsaurus) GetCommonSpec() ytv1.CommonSpec
func (*Ytsaurus) GetLocalUpdatingComponents ¶
func (*Ytsaurus) GetResource ¶
func (*Ytsaurus) GetUpdateFlow ¶
func (c *Ytsaurus) GetUpdateFlow() ytv1.UpdateFlow
func (*Ytsaurus) GetUpdateState ¶
func (c *Ytsaurus) GetUpdateState() ytv1.UpdateState
func (*Ytsaurus) IsStatusConditionFalse ¶
func (*Ytsaurus) IsStatusConditionTrue ¶
func (*Ytsaurus) IsUpdateStatusConditionTrue ¶
func (*Ytsaurus) IsUpdating ¶
func (*Ytsaurus) SaveClusterState ¶
func (*Ytsaurus) SaveUpdateState ¶
func (*Ytsaurus) SaveUpdatingClusterState ¶
func (*Ytsaurus) SetStatusCondition ¶
func (*Ytsaurus) SetUpdateStatusCondition ¶
func (*Ytsaurus) SyncObservedGeneration ¶
SyncObservedGeneration confirms that current generation was observed. Returns true if generation actually has been changed and status must be saved.
Click to show internal directories.
Click to hide internal directories.