Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckReadyState ¶
CheckReadyState will check every 1 second for 5 minutes to see if the resource is ready.
Types ¶
type Deployment ¶
type Deployment struct { v1.DeploymentInterface *appsv1.Deployment }
func NewDeployment ¶
func NewDeployment(client *helm.Client) (*Deployment, error)
func (*Deployment) Get ¶
func (d *Deployment) Get() (*appsv1.Deployment, error)
func (*Deployment) IsReady ¶
func (d *Deployment) IsReady() bool
func (*Deployment) Kind ¶
func (d *Deployment) Kind() string
func (*Deployment) Name ¶
func (d *Deployment) Name() string
type Ingress ¶
type Ingress struct { *networkingv1.Ingress v1.IngressInterface }
type PodDisruptionBudget ¶
type PodDisruptionBudget struct { PDBName string PodDisruptionBudget *policyv1.PodDisruptionBudget PodDisruptionBudgetInterface v1.PodDisruptionBudgetInterface }
func NewPodDisruptionBudget ¶
func NewPodDisruptionBudget(client *helm.Client, name string) (*PodDisruptionBudget, error)
func (*PodDisruptionBudget) IsReady ¶
func (p *PodDisruptionBudget) IsReady() bool
func (*PodDisruptionBudget) Kind ¶
func (p *PodDisruptionBudget) Kind() string
func (*PodDisruptionBudget) Name ¶
func (p *PodDisruptionBudget) Name() string
type StatefulSet ¶
type StatefulSet struct { *appsv1.StatefulSet v1.StatefulSetInterface }
func NewStatefulSet ¶
func NewStatefulSet(client *helm.Client) (*StatefulSet, error)
func (*StatefulSet) IsReady ¶
func (s *StatefulSet) IsReady() bool
IsReady Will report if the stateful set has the correct number of replicas. If this is true then we also know the PVC/PV has been created and bound as this would not become ready until that is done.
func (*StatefulSet) Kind ¶
func (s *StatefulSet) Kind() string
func (*StatefulSet) Name ¶
func (s *StatefulSet) Name() string
Click to show internal directories.
Click to hide internal directories.