Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Garden ¶
type Garden struct { // Name is a unique identifier of this Garden that can be used to target this Garden Name string `json:"name"` // Alias is a unique identifier of this Garden that can be used as an alternate name to target this Garden Alias string `json:"alias,omitempty"` }
Garden represents a garden cluster.
type Project ¶
type Project struct { // Name is the name of the project. Name string `json:"name"` // Namespace is the namespace within which the project exists. Namespace *string `json:"namespace,omitempty"` }
Project represents a gardener project.
type ResolvedTarget ¶
type ResolvedTarget struct { // Garden is the garden where the clusters are hosted. Garden Garden `json:"garden"` // Project is the project related to the resolved target. It is optional, hence the omitempty tag. Project *Project `json:"project,omitempty"` // Shoot is the shoot cluster related to the resolved target. It is optional, hence the omitempty tag. Shoot *Shoot `json:"shoot,omitempty"` // Seed is the seed cluster related to the resolved target. It is optional, hence the omitempty tag. Seed *Seed `json:"seed,omitempty"` }
ResolvedTarget represents the resolved target. It contains the details of the Garden, Project, Shoot, and Seed.
type Seed ¶
type Seed struct { // Name is the name of the seed cluster. Name string `json:"name"` }
Seed represents a seed cluster.
type Shoot ¶
type Shoot struct { // Name is the name of the shoot cluster. Name string `json:"name"` // Namespace is the namespace within which the shoot exists. Namespace string `json:"namespace"` // AccessRestriction holds the rendered access restriction messages AccessRestriction *string `json:"accessRestriction,omitempty"` }
Shoot represents a shoot cluster.
Click to show internal directories.
Click to hide internal directories.