Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Rollout() Rollout
}

    Client is the alpha client

    func New

    func New(options ...Option) Client

      New returns a Client.

      type Option

      type Option func(*alphaClient)

        Option is a configuration option supplied to New

        func InjectRollout

        func InjectRollout(rollout Rollout) Option

          InjectRollout allows to override the rollout implementation to use.

          type Rollout

          type Rollout interface {
          	ObjectRestarter(cluster.Proxy, util.ResourceTuple, string) error
          	ObjectPauser(cluster.Proxy, util.ResourceTuple, string) error
          	ObjectResumer(cluster.Proxy, util.ResourceTuple, string) error
          }

            Rollout defines the behavior of a rollout implementation.