resource

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoRollout added in v0.1.0

type ArgoRollout struct {
	// contains filtered or unexported fields
}

func (*ArgoRollout) Kind added in v0.1.0

func (r *ArgoRollout) Kind() string

func (*ArgoRollout) Name added in v0.1.0

func (r *ArgoRollout) Name() string

func (*ArgoRollout) Namespace added in v0.1.0

func (r *ArgoRollout) Namespace() string

func (*ArgoRollout) NodeSelector added in v0.2.0

func (r *ArgoRollout) NodeSelector() map[string]string

func (*ArgoRollout) Restart added in v0.1.0

func (r *ArgoRollout) Restart(ctx context.Context) error

type Deployment

type Deployment struct {
	// contains filtered or unexported fields
}

func (*Deployment) Kind

func (d *Deployment) Kind() string

func (*Deployment) Name

func (d *Deployment) Name() string

func (*Deployment) Namespace

func (d *Deployment) Namespace() string

func (*Deployment) NodeSelector added in v0.2.0

func (d *Deployment) NodeSelector() map[string]string

func (*Deployment) Restart

func (d *Deployment) Restart(ctx context.Context) error

type Rollout

type Rollout interface {
	Kind() string
	Name() string
	Namespace() string
	NodeSelector() map[string]string

	Restart(context.Context) error
}

type RolloutList

type RolloutList []Rollout

func GetRolloutList

func GetRolloutList(ctx context.Context, client *kubernetes.Client) (RolloutList, error)

type StatefulSet

type StatefulSet struct {
	// contains filtered or unexported fields
}

func (*StatefulSet) Kind

func (s *StatefulSet) Kind() string

func (*StatefulSet) Name

func (s *StatefulSet) Name() string

func (*StatefulSet) Namespace

func (s *StatefulSet) Namespace() string

func (*StatefulSet) NodeSelector added in v0.2.0

func (s *StatefulSet) NodeSelector() map[string]string

func (*StatefulSet) Restart

func (s *StatefulSet) Restart(ctx context.Context) error

Jump to

Keyboard shortcuts

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