cluster

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClusterIDsAreNotUnique = fmt.Errorf(`cluster IDs are not unique`)
)

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	object.Object `yaml:",inline" json:",inline"`
	Status        status.Status            `yaml:"status,omitempty" json:"status,omitempty"`
	HealthCheck   bool                     `yaml:"health_check,omitempty" json:"health_check,omitempty"`
	RBACNames     []string                 `yaml:"rbacs,omitempty" json:"rbacs,omitempty"`
	RBACs         []rbac.RBAC              `yaml:"-" json:"-"`
	Attributes    map[string]job.Attribute `yaml:"attributes,omitempty" json:"attributes,omitempty"`
}

func (*Cluster) Init

func (c *Cluster) Init() error

type Clusters

type Clusters map[string]*Cluster

func (*Clusters) UnmarshalYAML

func (c *Clusters) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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