api

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	ProjectId       string
	Cluster         *containerpb.Cluster
	RestConfig      *rest.Config
	DynamicClient   dynamic.Interface
	DiscoveryClient *discovery.DiscoveryClient
}

func NewHandler

func NewHandler(ctx context.Context, projectId string, cluster *containerpb.Cluster) (*Handler, error)

func (*Handler) Annotate

func (h *Handler) Annotate()

func (*Handler) Apply

func (h *Handler) Apply(ctx context.Context, filename string, dryRun bool) error

func (*Handler) Attach

func (h *Handler) Attach()

func (*Handler) Autoscale

func (h *Handler) Autoscale()

func (*Handler) ClusterInfo

func (h *Handler) ClusterInfo()

func (*Handler) Config

func (h *Handler) Config()

func (*Handler) Cordon

func (h *Handler) Cordon()

func (*Handler) Create

func (h *Handler) Create()

func (*Handler) Debug

func (h *Handler) Debug()

func (*Handler) Delete

func (h *Handler) Delete(ctx context.Context, args []string, namespace string, filename string, dryRun bool) error

func (*Handler) Describe

func (h *Handler) Describe()

func (*Handler) Diff

func (h *Handler) Diff()

func (*Handler) Drain

func (h *Handler) Drain()

func (*Handler) Exec

func (h *Handler) Exec() error

func (*Handler) Expose

func (h *Handler) Expose()

func (*Handler) Get

func (h *Handler) Get(ctx context.Context, args []string, namespace string) error

func (*Handler) Kustomize

func (h *Handler) Kustomize()

func (*Handler) Label

func (h *Handler) Label()

func (*Handler) Patch

func (h *Handler) Patch()

func (*Handler) Plugin

func (h *Handler) Plugin()

func (*Handler) Replace

func (h *Handler) Replace()

func (*Handler) Rollout

func (h *Handler) Rollout()

func (*Handler) Run

func (h *Handler) Run(ctx context.Context, dryRun, tty, rm bool, image, name, namespace string, command ...string) error

func (*Handler) Scale

func (h *Handler) Scale()

func (*Handler) Set

func (h *Handler) Set()

func (*Handler) Taint

func (h *Handler) Taint()

func (*Handler) Top

func (h *Handler) Top()

func (*Handler) Uncordon

func (h *Handler) Uncordon()

func (*Handler) Wait

func (h *Handler) Wait()

Jump to

Keyboard shortcuts

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