Documentation ¶
Index ¶
- func EnsureFirewallControllerRBAC(ctx context.Context, seedConfig, shootConfig *rest.Config, ...) error
- func GetAccessKubeconfig(c *AccessConfig) ([]byte, error)
- func MustNewFirewallScheme() *runtime.Scheme
- type AccessConfig
- type ShootAccessHelper
- func (s *ShootAccessHelper) Client(ctx context.Context) (client.Client, error)
- func (s *ShootAccessHelper) Config(ctx context.Context) (*configv1.Config, error)
- func (s *ShootAccessHelper) RESTConfig(ctx context.Context) (*rest.Config, error)
- func (s *ShootAccessHelper) Raw(ctx context.Context) ([]byte, error)
- type ShootAccessTokenUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureFirewallControllerRBAC ¶
func EnsureFirewallControllerRBAC(ctx context.Context, seedConfig, shootConfig *rest.Config, deploy *v2.FirewallDeployment, shootNamespace string, shootAccess *v2.ShootAccess) error
func GetAccessKubeconfig ¶
func GetAccessKubeconfig(c *AccessConfig) ([]byte, error)
func MustNewFirewallScheme ¶
Types ¶
type AccessConfig ¶
type ShootAccessHelper ¶
type ShootAccessHelper struct {
// contains filtered or unexported fields
}
func NewShootAccessHelper ¶
func NewShootAccessHelper(seed client.Client, access *v2.ShootAccess) *ShootAccessHelper
NewShootAccessHelper provides shoot access functions based on shoot access secrets, i.e. Gardener's generic kubeconfig and token secret.
func NewSingleClusterModeHelper ¶ added in v0.2.0
func NewSingleClusterModeHelper(shootConfig *rest.Config) *ShootAccessHelper
NewSingleClusterModeHelper provides shoot access functions when running in a single-mode cluster, i.e. the shoot client equals the seed client.
func (*ShootAccessHelper) RESTConfig ¶
type ShootAccessTokenUpdater ¶
type ShootAccessTokenUpdater struct {
// contains filtered or unexported fields
}
func NewShootAccessTokenUpdater ¶
func NewShootAccessTokenUpdater(s *ShootAccessHelper, tokenDir string) (*ShootAccessTokenUpdater, error)
func (*ShootAccessTokenUpdater) UpdateContinuously ¶
func (*ShootAccessTokenUpdater) UpdateShootAccess ¶ added in v0.2.2
func (s *ShootAccessTokenUpdater) UpdateShootAccess(shootAccess *v2.ShootAccess)
Click to show internal directories.
Click to hide internal directories.