Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "usergroups"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { K8sClient k8sclient.Interface Logger micrologger.Logger CustomerAdminGroups []accessgroup.AccessGroup GSAdminGroups []accessgroup.AccessGroup }
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
func (*Resource) EnsureCreated ¶
EnsureCreated Ensures that ClusterRoleBindings and RoleBindings to roles with permissions to read and write all common and custom resources are created for customer and giantswarm groups
func (*Resource) EnsureDeleted ¶
func (Resource) K8sClient ¶
func (r Resource) K8sClient() kubernetes.Interface
func (Resource) Logger ¶
func (r Resource) Logger() micrologger.Logger
Click to show internal directories.
Click to hide internal directories.