Documentation
¶
Index ¶
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "Bastion"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bastion ¶
Bastion contains listers and and admission handler.
func (*Bastion) Admit ¶
func (v *Bastion) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Admit validates and if appropriate mutates the given bastion against the shoot that it references.
func (*Bastion) AssignReadyFunc ¶
AssignReadyFunc assigns the ready function to the admission handler.
func (*Bastion) SetInternalCoreClientset ¶
func (v *Bastion) SetInternalCoreClientset(c coreclientset.Interface)
SetInternalCoreClientset sets the garden core clientset.
func (*Bastion) ValidateInitialization ¶
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.