Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OperatorLimitDefaultMemoryEnvironmentVariable Environment variable used to define the default memory-limit on limitrange OperatorLimitDefaultMemoryEnvironmentVariable = "RADIXOPERATOR_APP_LIMITS_DEFAULT_MEMORY" // OperatorLimitDefaultCPUEnvironmentVariable Environment variable used to define the default cpu-limit on limitrange OperatorLimitDefaultCPUEnvironmentVariable = "RADIXOPERATOR_APP_LIMITS_DEFAULT_CPU" // OperatorLimitDefaultRequestMemoryEnvironmentVariable Environment variable used to define the default memory-request on limitrange OperatorLimitDefaultRequestMemoryEnvironmentVariable = "RADIXOPERATOR_APP_LIMITS_DEFAULT_REQUEST_MEMORY" // OperatorLimitDefaultReqestCPUEnvironmentVariable Environment variable used to define the default cpu-request on limitrange OperatorLimitDefaultReqestCPUEnvironmentVariable = "RADIXOPERATOR_APP_LIMITS_DEFAULT_REQUEST_CPU" )
View Source
const OperatorDefaultUserGroupEnvironmentVariable = "RADIXOPERATOR_DEFAULT_USER_GROUP"
OperatorDefaultUserGroupEnvironmentVariable If users don't provide ad-group, then it should default to this
Variables ¶
This section is empty.
Functions ¶
func GetAdGroups ¶
func GetAdGroups(registration *v1.RadixRegistration) ([]string, error)
GetAdGroups Gets ad-groups from registration. If missing, gives default for cluster
func GetOwnerReferenceOfRegistration ¶
func GetOwnerReferenceOfRegistration(registration *v1.RadixRegistration) []metav1.OwnerReference
GetOwnerReferenceOfRegistration Gets owner reference given registration. Resources that an RR owns
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
Application Instance variables
func NewApplication ¶
func NewApplication( kubeclient kubernetes.Interface, kubeutil *kube.Kube, radixclient radixclient.Interface, registration *v1.RadixRegistration) (Application, error)
NewApplication Constructor
func (Application) OnSync ¶
func (app Application) OnSync() error
OnSync compares the actual state with the desired, and attempts to converge the two
Click to show internal directories.
Click to hide internal directories.