Documentation ¶
Index ¶
- type KubeAPIServerBuilder
- func (builder *KubeAPIServerBuilder) Exists() bool
- func (builder *KubeAPIServerBuilder) Get() (*operatorV1.KubeAPIServer, error)
- func (builder *KubeAPIServerBuilder) GetCondition(conditionType string) (*operatorV1.ConditionStatus, string, error)
- func (builder *KubeAPIServerBuilder) WaitAllNodesAtTheLatestRevision(timeout time.Duration) error
- func (builder *KubeAPIServerBuilder) WaitUntilConditionTrue(conditionType string, timeout time.Duration) error
- type OpenshiftAPIServerBuilder
- func (builder *OpenshiftAPIServerBuilder) Exists() bool
- func (builder *OpenshiftAPIServerBuilder) Get() (*operatorV1.OpenShiftAPIServer, error)
- func (builder *OpenshiftAPIServerBuilder) GetCondition(conditionType string) (*operatorV1.ConditionStatus, string, error)
- func (builder *OpenshiftAPIServerBuilder) WaitAllPodsAtTheLatestGeneration(timeout time.Duration) error
- func (builder *OpenshiftAPIServerBuilder) WaitUntilConditionTrue(conditionType string, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeAPIServerBuilder ¶
type KubeAPIServerBuilder struct { // KubeApiServer definition. Used to create an kubeAPIServer object. Definition *operatorV1.KubeAPIServer // Created kubeAPIServer object. Object *operatorV1.KubeAPIServer // contains filtered or unexported fields }
KubeAPIServerBuilder provides struct for kubeAPIServer object.
func PullKubeAPIServer ¶
func PullKubeAPIServer(apiClient *clients.Settings) (*KubeAPIServerBuilder, error)
PullKubeAPIServer pulls existing kubeApiServer from the cluster.
func (*KubeAPIServerBuilder) Exists ¶
func (builder *KubeAPIServerBuilder) Exists() bool
Exists checks whether the given kubeAPIServer exists.
func (*KubeAPIServerBuilder) Get ¶
func (builder *KubeAPIServerBuilder) Get() (*operatorV1.KubeAPIServer, error)
Get returns KubeAPIServer object if found.
func (*KubeAPIServerBuilder) GetCondition ¶
func (builder *KubeAPIServerBuilder) GetCondition(conditionType string) (*operatorV1.ConditionStatus, string, error)
GetCondition get specific kubeAPIServer condition and message if presented.
func (*KubeAPIServerBuilder) WaitAllNodesAtTheLatestRevision ¶
func (builder *KubeAPIServerBuilder) WaitAllNodesAtTheLatestRevision(timeout time.Duration) error
WaitAllNodesAtTheLatestRevision waits for timeout duration or until all nodes will be at the latest revision.
func (*KubeAPIServerBuilder) WaitUntilConditionTrue ¶
func (builder *KubeAPIServerBuilder) WaitUntilConditionTrue( conditionType string, timeout time.Duration) error
WaitUntilConditionTrue waits for timeout duration or until kubeAPIServer gets to a specific status.
type OpenshiftAPIServerBuilder ¶
type OpenshiftAPIServerBuilder struct { // OpenshiftAPIServer definition. Used to create an openshiftAPIServer object. Definition *operatorV1.OpenShiftAPIServer // Created openshiftAPIServer object. Object *operatorV1.OpenShiftAPIServer // contains filtered or unexported fields }
OpenshiftAPIServerBuilder provides struct for openshiftAPIServer object.
func PullOpenshiftAPIServer ¶
func PullOpenshiftAPIServer(apiClient *clients.Settings) (*OpenshiftAPIServerBuilder, error)
PullOpenshiftAPIServer pulls existing openshiftApiServer from the cluster.
func (*OpenshiftAPIServerBuilder) Exists ¶
func (builder *OpenshiftAPIServerBuilder) Exists() bool
Exists checks whether the given openshiftAPIServer exists.
func (*OpenshiftAPIServerBuilder) Get ¶
func (builder *OpenshiftAPIServerBuilder) Get() (*operatorV1.OpenShiftAPIServer, error)
Get returns openshiftAPIServer object if found.
func (*OpenshiftAPIServerBuilder) GetCondition ¶
func (builder *OpenshiftAPIServerBuilder) GetCondition(conditionType string) ( *operatorV1.ConditionStatus, string, error)
GetCondition get specific openshiftAPIServer condition and message if presented.
func (*OpenshiftAPIServerBuilder) WaitAllPodsAtTheLatestGeneration ¶
func (builder *OpenshiftAPIServerBuilder) WaitAllPodsAtTheLatestGeneration(timeout time.Duration) error
WaitAllPodsAtTheLatestGeneration waits for timeout duration or until openshiftAPIServer pods will reach the latest generation.
func (*OpenshiftAPIServerBuilder) WaitUntilConditionTrue ¶
func (builder *OpenshiftAPIServerBuilder) WaitUntilConditionTrue( conditionType string, timeout time.Duration) error
WaitUntilConditionTrue waits for timeout duration or until openshiftAPIServer gets to a specific status.