cluster

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

+gengo:operator:register=R +gengo:operator:tag=cluster

Package cluster GENERATED BY gengo:operator DON'T EDIT THIS FILE

Package cluster GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CreateClusterAgentResources added in v0.5.4

type CreateClusterAgentResources struct {
	courierhttp.MethodPost `path:"/clusters/:name/agent/resources"`
	Name                   string `name:"name" in:"path"`
}

func (*CreateClusterAgentResources) Output added in v0.5.4

func (*CreateClusterAgentResources) ResponseContent added in v0.5.4

func (*CreateClusterAgentResources) ResponseContent() any

func (CreateClusterAgentResources) RuntimeDoc added in v0.5.4

func (v CreateClusterAgentResources) RuntimeDoc(names ...string) ([]string, bool)

type GetClusterStatus

type GetClusterStatus struct {
	courierhttp.MethodGet `path:"/clusters/:name/status"`
	Name                  string `name:"name" in:"path"`
}

func (GetClusterStatus) MiddleOperators

func (GetClusterStatus) MiddleOperators() courier.MiddleOperators

func (*GetClusterStatus) Output

func (p *GetClusterStatus) Output(ctx context.Context) (any, error)

func (*GetClusterStatus) ResponseContent

func (*GetClusterStatus) ResponseContent() any

func (GetClusterStatus) RuntimeDoc

func (v GetClusterStatus) RuntimeDoc(names ...string) ([]string, bool)

type ListCluster

type ListCluster struct {
	courierhttp.MethodGet `path:"/clusters"`
}

func (*ListCluster) Output

func (p *ListCluster) Output(ctx context.Context) (any, error)

func (*ListCluster) ResponseContent

func (*ListCluster) ResponseContent() any

func (ListCluster) RuntimeDoc

func (v ListCluster) RuntimeDoc(names ...string) ([]string, bool)

type PutCluster

type PutCluster struct {
	courierhttp.MethodPut `path:"/clusters/:name"`
	Name                  string       `name:"name" in:"path"`
	Info                  cluster.Info `in:"body"`
}

func (PutCluster) MiddleOperators

func (PutCluster) MiddleOperators() courier.MiddleOperators

func (*PutCluster) Output

func (p *PutCluster) Output(ctx context.Context) (any, error)

func (*PutCluster) ResponseContent

func (*PutCluster) ResponseContent() any

func (PutCluster) RuntimeDoc

func (v PutCluster) RuntimeDoc(names ...string) ([]string, bool)

type RenameCluster

type RenameCluster struct {
	courierhttp.MethodPut `path:"/clusters/:name/rename/:newName"`
	Name                  string `name:"name" in:"path"`
	NewName               string `name:"newName" in:"path"`
}

func (RenameCluster) MiddleOperators

func (RenameCluster) MiddleOperators() courier.MiddleOperators

func (*RenameCluster) Output

func (p *RenameCluster) Output(ctx context.Context) (any, error)

func (*RenameCluster) ResponseContent

func (*RenameCluster) ResponseContent() any

func (RenameCluster) RuntimeDoc

func (v RenameCluster) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

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