Documentation
¶
Index ¶
- Constants
- func IsNotWorkingOnStrategy(err error) bool
- func NewNotWorkingOnStrategyError(contenderReleaseKey string) error
- type CapacityTargetOutdatedResult
- type Controller
- type Executor
- type ExecutorResult
- type NotWorkingOnStrategyError
- type ReleaseStrategyStateTransition
- type ReleaseUpdateResult
- type RetrievingCapacityTargetForReleaseError
- type RetrievingInstallationTargetForReleaseError
- type RetrievingTrafficTargetForReleaseError
- type TrafficTargetOutdatedResult
Constants ¶
View Source
const (
AgentName = "strategy-controller"
)
Variables ¶
This section is empty.
Functions ¶
func IsNotWorkingOnStrategy ¶
Types ¶
type CapacityTargetOutdatedResult ¶
type CapacityTargetOutdatedResult struct {
Name string
NewSpec *shipper.CapacityTargetSpec
}
func (*CapacityTargetOutdatedResult) PatchSpec ¶
func (c *CapacityTargetOutdatedResult) PatchSpec() (string, schema.GroupVersionKind, []byte)
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( shipperClient shipperclientset.Interface, informerFactory informers.SharedInformerFactory, dynamicClientPool dynamic.ClientPool, recorder record.EventRecorder, ) *Controller
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{})
type ExecutorResult ¶
type ExecutorResult interface {
PatchSpec() (string, schema.GroupVersionKind, []byte)
}
type NotWorkingOnStrategyError ¶
type NotWorkingOnStrategyError error
type ReleaseStrategyStateTransition ¶
type ReleaseStrategyStateTransition struct {
State string
Previous shipper.StrategyState
New shipper.StrategyState
}
type ReleaseUpdateResult ¶
type ReleaseUpdateResult struct {
Name string
NewStatus *shipper.ReleaseStatus
}
func (*ReleaseUpdateResult) PatchSpec ¶
func (r *ReleaseUpdateResult) PatchSpec() (string, schema.GroupVersionKind, []byte)
type RetrievingCapacityTargetForReleaseError ¶
type RetrievingCapacityTargetForReleaseError error
func NewRetrievingCapacityTargetForReleaseError ¶
func NewRetrievingCapacityTargetForReleaseError(releasekey string, err error) RetrievingCapacityTargetForReleaseError
type RetrievingInstallationTargetForReleaseError ¶
type RetrievingInstallationTargetForReleaseError error
func NewRetrievingInstallationTargetForReleaseError ¶
func NewRetrievingInstallationTargetForReleaseError(releaseKey string, err error) RetrievingInstallationTargetForReleaseError
type RetrievingTrafficTargetForReleaseError ¶
type RetrievingTrafficTargetForReleaseError error
func NewRetrievingTrafficTargetForReleaseError ¶
func NewRetrievingTrafficTargetForReleaseError(releaseKey string, err error) RetrievingTrafficTargetForReleaseError
type TrafficTargetOutdatedResult ¶
type TrafficTargetOutdatedResult struct {
Name string
NewSpec *shipper.TrafficTargetSpec
}
func (*TrafficTargetOutdatedResult) PatchSpec ¶
func (c *TrafficTargetOutdatedResult) PatchSpec() (string, schema.GroupVersionKind, []byte)
Click to show internal directories.
Click to hide internal directories.