Documentation ¶
Index ¶
- type Environment
- func (env *Environment) ApplyAdGroupRoleBinding(namespace string) error
- func (env *Environment) ApplyLimitRange(namespace string) error
- func (env *Environment) ApplyNamespace(name string) error
- func (env *Environment) AsOwnerReference() []meta.OwnerReference
- func (env *Environment) OnSync(time meta.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
Environment is the aggregate-root for manipulating RadixEnvironments
func NewEnvironment ¶
func NewEnvironment( kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, config *v1.RadixEnvironment, regConfig *v1.RadixRegistration, logger *logrus.Entry) (Environment, error)
NewEnvironment is the constructor for Environment
func (*Environment) ApplyAdGroupRoleBinding ¶
func (env *Environment) ApplyAdGroupRoleBinding(namespace string) error
ApplyAdGroupRoleBinding grants access to environment namespace
func (*Environment) ApplyLimitRange ¶
func (env *Environment) ApplyLimitRange(namespace string) error
ApplyLimitRange sets resource usage limits to provided namespace
func (*Environment) ApplyNamespace ¶
func (env *Environment) ApplyNamespace(name string) error
ApplyNamespace sets up namespace metadata and applies configuration to kubernetes
func (*Environment) AsOwnerReference ¶
func (env *Environment) AsOwnerReference() []meta.OwnerReference
AsOwnerReference creates an OwnerReference to this environment object
Click to show internal directories.
Click to hide internal directories.