Documentation ¶
Index ¶
- func EnsureFirewallControllerRBAC(ctx context.Context, seedConfig *rest.Config, deploy *v2.FirewallDeployment, ...) 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) K8sVersion(ctx context.Context) (*semver.Version, error)
- func (s *ShootAccessHelper) RESTConfig(ctx context.Context) (*rest.Config, error)
- func (s *ShootAccessHelper) Raw(ctx context.Context) ([]byte, error)
- func (s *ShootAccessHelper) ReadTokenSecret(ctx context.Context) (*time.Time, string, error)
- type ShootAccessTokenUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureFirewallControllerRBAC ¶
func EnsureFirewallControllerRBAC(ctx context.Context, seedConfig *rest.Config, deploy *v2.FirewallDeployment, shootNamespace string, shootAccess *v2.ShootAccess, shootAccessHelper *ShootAccessHelper) 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
func (*ShootAccessHelper) K8sVersion ¶
func (s *ShootAccessHelper) K8sVersion(ctx context.Context) (*semver.Version, error)
func (*ShootAccessHelper) RESTConfig ¶
func (*ShootAccessHelper) Raw ¶
func (s *ShootAccessHelper) Raw(ctx context.Context) ([]byte, error)
func (*ShootAccessHelper) ReadTokenSecret ¶
type ShootAccessTokenUpdater ¶
type ShootAccessTokenUpdater struct {
// contains filtered or unexported fields
}
func NewShootAccessTokenUpdater ¶
func NewShootAccessTokenUpdater(s *ShootAccessHelper, tokenDir string) (*ShootAccessTokenUpdater, error)
func (*ShootAccessTokenUpdater) UpdateContinuously ¶
Click to show internal directories.
Click to hide internal directories.