apiservers

package
v0.0.0-...-a622235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL