Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the api v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=capabilities.3scale.net
Package v1alpha1 contains API Schema definitions for the api v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=capabilities.3scale.net
Index ¶
- Constants
- Variables
- func CompareInternalAPI(APIA, APIB InternalAPI) bool
- func CompareStates(A, B State) bool
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func RegisterDefaults(scheme *runtime.Scheme) error
- type API
- type APIBase
- type APIBaseInternal
- type APIKey
- type APIList
- type APIPair
- type APISelectors
- type APISpec
- type APIStatus
- type APIcastBaseOptions
- type APIcastBaseSelectors
- type APIsDiff
- type ApicastAuthenticationSettings
- type ApicastHosted
- type ApicastOnPrem
- type AppID
- type Authentication
- type Binding
- func (b *Binding) AddFinalizer(c client.Client) error
- func (b *Binding) CleanUp(c client.Client) error
- func (in *Binding) DeepCopy() *Binding
- func (in *Binding) DeepCopyInto(out *Binding)
- func (in *Binding) DeepCopyObject() runtime.Object
- func (b Binding) GetCurrentState() (*State, error)
- func (b Binding) GetDesiredState() (*State, error)
- func (b Binding) GetLastSuccessfulSync() *metav1.Timestamp
- func (b Binding) GetPreviousState() (*State, error)
- func (b Binding) HasFinalizer() bool
- func (b *Binding) IsTerminating() bool
- func (b Binding) NewCurrentState(c client.Client) (*State, error)
- func (b Binding) NewDesiredState(c client.Client) (*State, error)
- func (b *Binding) SetCurrentState(state State) error
- func (b *Binding) SetDesiredState(state State) error
- func (b *Binding) SetLastSuccessfulSync()
- func (b *Binding) SetPreviousState(state State) error
- func (b *Binding) StateInSync() bool
- func (b *Binding) UpdateStatus(c client.Client) error
- type BindingList
- type BindingSpec
- type BindingStatus
- type CodePlugin
- type CodePluginAuthenticationSettings
- type Errors
- type Integration
- type IntegrationCredentials
- type IntegrationMethod
- type InternalAPI
- type InternalApicastHosted
- type InternalApicastOnPrem
- type InternalCodePlugin
- type InternalCredentials
- type InternalIntegration
- type InternalLimit
- type InternalMappingRule
- type InternalMetric
- type InternalPlan
- type Limit
- type LimitBase
- type LimitList
- type LimitObjectRef
- type LimitPair
- type LimitSpec
- type LimitStatus
- type LimitsDiff
- type MappingRule
- type MappingRuleBase
- type MappingRuleDiff
- type MappingRuleList
- type MappingRuleMetricRef
- type MappingRulePair
- type MappingRuleSpec
- type MappingRuleStatus
- type MatchLabels
- type Metric
- type MetricList
- type MetricSpec
- type MetricStatus
- type MetricsDiff
- type MetricsPair
- type OpenIDConnector
- type Plan
- type PlanBase
- type PlanCost
- type PlanList
- type PlanSelectors
- type PlanSpec
- type PlanStatus
- type State
- type Tenant
- type TenantList
- type TenantSpec
- type TenantStatus
Constants ¶
const BINDING_FINALIZER = "binding.capabilities.3scale.net"
const (
TenantKind = "Tenant"
)
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: groupName, Version: version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var CredentialTypeToBackendVersion = map[string]string{
"OpenIDConnector": "oidc",
"AppID": "2",
"APIKey": "1",
}
var IntegrationMethodToDeploymentType = map[string]string{
"ApicastHosted": "hosted",
"ApicastOnPrem": "self_managed",
"CodePlugin": "plugin_rest",
}
Functions ¶
func CompareInternalAPI ¶
func CompareInternalAPI(APIA, APIB InternalAPI) bool
CompareInternalAPI Compares two InternalAPIs and return true or false.
func CompareStates ¶
CompareStates compares two state objects and return true if equal
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type API ¶
type API struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec APISpec `json:"spec,omitempty"` Status APIStatus `json:"status,omitempty"` }
API is the Schema for the apis API +k8s:openapi-gen=true
func (*API) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (*API) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*API) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (API) GetInternalAPI ¶
func (api API) GetInternalAPI(c client.Client) (*InternalAPI, error)
type APIBase ¶
type APIBase struct { Description string `json:"description"` IntegrationMethod IntegrationMethod `json:"integrationMethod"` }
func (*APIBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBase.
func (*APIBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIBaseInternal ¶
type APIBaseInternal struct { APIBase `json:",omitempty"` // We shadow the APIBase IntegrationMethod to point to our Internal representation IntegrationMethod InternalIntegration `json:"integrationMethod"` }
func (*APIBaseInternal) DeepCopy ¶
func (in *APIBaseInternal) DeepCopy() *APIBaseInternal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIBaseInternal.
func (*APIBaseInternal) DeepCopyInto ¶
func (in *APIBaseInternal) DeepCopyInto(out *APIBaseInternal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIKey ¶
type APIKey struct { AuthParameterName string `json:"authParameterName"` CredentialsLocation string `json:"credentialsLocation"` }
func (*APIKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKey.
func (*APIKey) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIList ¶
type APIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []API `json:"items"` }
APIList contains a list of API
func (*APIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIList.
func (*APIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIPair ¶
type APIPair struct { A InternalAPI B InternalAPI }
func (*APIPair) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIPair.
func (*APIPair) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISelectors ¶
type APISelectors struct { // +optional PlanSelector *metav1.LabelSelector `json:"planSelector,omitempty"` // +optional MetricSelector *metav1.LabelSelector `json:"metricSelector,omitempty"` }
func (*APISelectors) DeepCopy ¶
func (in *APISelectors) DeepCopy() *APISelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISelectors.
func (*APISelectors) DeepCopyInto ¶
func (in *APISelectors) DeepCopyInto(out *APISelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISpec ¶
type APISpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file APIBase `json:",inline"` APISelectors `json:",inline"` }
APISpec defines the desired state of API
func (*APISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISpec.
func (*APISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIStatus ¶
type APIStatus struct { }
APIStatus defines the observed state of API
func (*APIStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIStatus.
func (*APIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIcastBaseOptions ¶
type APIcastBaseOptions struct { PrivateBaseURL string `json:"privateBaseURL"` APITestGetRequest string `json:"apiTestGetRequest"` AuthenticationSettings ApicastAuthenticationSettings `json:"authenticationSettings"` }
func (*APIcastBaseOptions) DeepCopy ¶
func (in *APIcastBaseOptions) DeepCopy() *APIcastBaseOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIcastBaseOptions.
func (*APIcastBaseOptions) DeepCopyInto ¶
func (in *APIcastBaseOptions) DeepCopyInto(out *APIcastBaseOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIcastBaseSelectors ¶
type APIcastBaseSelectors struct { // +optional MappingRulesSelector *metav1.LabelSelector `json:"mappingRulesSelector,omitempty"` // +optional PoliciesSelector *metav1.LabelSelector `json:"policiesSelector,omitempty"` }
func (*APIcastBaseSelectors) DeepCopy ¶
func (in *APIcastBaseSelectors) DeepCopy() *APIcastBaseSelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIcastBaseSelectors.
func (*APIcastBaseSelectors) DeepCopyInto ¶
func (in *APIcastBaseSelectors) DeepCopyInto(out *APIcastBaseSelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIsDiff ¶
type APIsDiff struct { MissingFromA []InternalAPI MissingFromB []InternalAPI Equal []InternalAPI NotEqual []APIPair }
TODO: Refactor Diffs.
func DiffAPIs ¶
func DiffAPIs(APIs1 []InternalAPI, APIs2 []InternalAPI) APIsDiff
DiffAPIs generate an APIsDiff object with equal, different and missing APIs from two InternalAPI slices.
func (*APIsDiff) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIsDiff.
func (*APIsDiff) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIsDiff) ReconcileWith3scale ¶
func (d *APIsDiff) ReconcileWith3scale(creds InternalCredentials) error
reconcileWith3scale creates/modifies/deletes APIs based on the information of the APIsDiff object.
type ApicastAuthenticationSettings ¶
type ApicastAuthenticationSettings struct { HostHeader string `json:"hostHeader"` SecretToken string `json:"secretToken"` Credentials IntegrationCredentials `json:"credentials"` Errors Errors `json:"errors"` }
func (*ApicastAuthenticationSettings) DeepCopy ¶
func (in *ApicastAuthenticationSettings) DeepCopy() *ApicastAuthenticationSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicastAuthenticationSettings.
func (*ApicastAuthenticationSettings) DeepCopyInto ¶
func (in *ApicastAuthenticationSettings) DeepCopyInto(out *ApicastAuthenticationSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApicastHosted ¶
type ApicastHosted struct { APIcastBaseOptions `json:",inline"` APIcastBaseSelectors `json:",inline"` }
func (*ApicastHosted) DeepCopy ¶
func (in *ApicastHosted) DeepCopy() *ApicastHosted
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicastHosted.
func (*ApicastHosted) DeepCopyInto ¶
func (in *ApicastHosted) DeepCopyInto(out *ApicastHosted)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApicastOnPrem ¶
type ApicastOnPrem struct { APIcastBaseOptions `json:",inline"` StagingPublicBaseURL string `json:"stagingPublicBaseURL"` ProductionPublicBaseURL string `json:"productionPublicBaseURL"` APIcastBaseSelectors `json:",inline"` }
func (*ApicastOnPrem) DeepCopy ¶
func (in *ApicastOnPrem) DeepCopy() *ApicastOnPrem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicastOnPrem.
func (*ApicastOnPrem) DeepCopyInto ¶
func (in *ApicastOnPrem) DeepCopyInto(out *ApicastOnPrem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppID ¶
type AppID struct { AppIDParameterName string `json:"appIDParameterName"` AppKeyParameterName string `json:"appKeyParameterName"` CredentialsLocation string `json:"credentialsLocation"` }
func (*AppID) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppID.
func (*AppID) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Authentication ¶
type Authentication struct { ResponseCode int64 `json:"responseCode"` ContentType string `json:"contentType"` ResponseBody string `json:"responseBody"` }
func (*Authentication) DeepCopy ¶
func (in *Authentication) DeepCopy() *Authentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.
func (*Authentication) DeepCopyInto ¶
func (in *Authentication) DeepCopyInto(out *Authentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Binding ¶
type Binding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BindingSpec `json:"spec,omitempty"` Status BindingStatus `json:"status,omitempty"` }
Binding is the Schema for the bindings API +k8s:openapi-gen=true
func (*Binding) AddFinalizer ¶
AddFinalizer adds the binding finalizer to the meta of the binding object
func (*Binding) CleanUp ¶
CleanUp remove all the objects referenced by the binding object current state.
func (*Binding) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binding.
func (*Binding) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Binding) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Binding) GetCurrentState ¶
GetCurrentState returns the status field CurrentState
func (Binding) GetDesiredState ¶
GetDesiredState returns the status field DesiredState
func (Binding) GetLastSuccessfulSync ¶
GetLastSuccessfulSync gets the status field LastSuccessfulSync
func (Binding) GetPreviousState ¶
GetPreviousState returns the status field PreviousState
func (Binding) HasFinalizer ¶
HasFinalizer checks if the binding object has the binding finalizer set
func (*Binding) IsTerminating ¶
IsTerminating checks if the objects has been marked for deletion
func (Binding) NewCurrentState ¶
NewDesiredState creates a new state from the 3scale system
func (Binding) NewDesiredState ¶
NewDesiredState creates a new state from the CRDs objects
func (*Binding) SetCurrentState ¶
SetCurrentState adds the referenced state to the bindingStatus object
func (*Binding) SetDesiredState ¶
SetDesiredState adds the referenced state to the bindingStatus object
func (*Binding) SetLastSuccessfulSync ¶
func (b *Binding) SetLastSuccessfulSync()
SetLastSuccessfulSync adds a timestamp to the binding object
func (*Binding) SetPreviousState ¶
SetPreviousState adds the referenced state to the bindingStatus object
func (*Binding) StateInSync ¶
StateInSync compares the current and desired state of the binding object and returns if those are in sync
type BindingList ¶
type BindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Binding `json:"items"` }
BindingList contains a list of Binding
func (*BindingList) DeepCopy ¶
func (in *BindingList) DeepCopy() *BindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingList.
func (*BindingList) DeepCopyInto ¶
func (in *BindingList) DeepCopyInto(out *BindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BindingList) DeepCopyObject ¶
func (in *BindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BindingSpec ¶
type BindingSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file CredentialsRef v1.SecretReference `json:"credentialsRef"` //+optional APISelector metav1.LabelSelector `json:"APISelector,omitempty"` }
BindingSpec defines the desired state of Binding
func (*BindingSpec) DeepCopy ¶
func (in *BindingSpec) DeepCopy() *BindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingSpec.
func (*BindingSpec) DeepCopyInto ¶
func (in *BindingSpec) DeepCopyInto(out *BindingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindingStatus ¶
type BindingStatus struct { //+optional LastSuccessfulSync *metav1.Timestamp `json:"lastSync,omitempty"` //+optional CurrentState *string `json:"currentState,omitempty"` //+optional DesiredState *string `json:"desiredState,omitempty"` //+optional PreviousState *string `json:"previousState,omitempty"` }
BindingStatus defines the observed state of Binding
func (*BindingStatus) DeepCopy ¶
func (in *BindingStatus) DeepCopy() *BindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindingStatus.
func (*BindingStatus) DeepCopyInto ¶
func (in *BindingStatus) DeepCopyInto(out *BindingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodePlugin ¶
type CodePlugin struct {
AuthenticationSettings CodePluginAuthenticationSettings `json:"authenticationSettings"`
}
func (*CodePlugin) DeepCopy ¶
func (in *CodePlugin) DeepCopy() *CodePlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodePlugin.
func (*CodePlugin) DeepCopyInto ¶
func (in *CodePlugin) DeepCopyInto(out *CodePlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CodePluginAuthenticationSettings ¶
type CodePluginAuthenticationSettings struct {
Credentials IntegrationCredentials `json:"credentials"`
}
func (*CodePluginAuthenticationSettings) DeepCopy ¶
func (in *CodePluginAuthenticationSettings) DeepCopy() *CodePluginAuthenticationSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CodePluginAuthenticationSettings.
func (*CodePluginAuthenticationSettings) DeepCopyInto ¶
func (in *CodePluginAuthenticationSettings) DeepCopyInto(out *CodePluginAuthenticationSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Errors ¶
type Errors struct { AuthenticationFailed Authentication `json:"authenticationFailed"` AuthenticationMissing Authentication `json:"authenticationMissing"` }
func (*Errors) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Errors.
func (*Errors) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Integration ¶
type Integration interface { GetMappingRules() []InternalMappingRule GetCredentialTypeName() string }
type IntegrationCredentials ¶
type IntegrationCredentials struct { // +optional APIKey *APIKey `json:"apiKey,omitempty"` // +optional AppID *AppID `json:"appID,omitempty"` // +optional OpenIDConnector *OpenIDConnector `json:"openIDConnector,omitempty"` }
func (*IntegrationCredentials) DeepCopy ¶
func (in *IntegrationCredentials) DeepCopy() *IntegrationCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationCredentials.
func (*IntegrationCredentials) DeepCopyInto ¶
func (in *IntegrationCredentials) DeepCopyInto(out *IntegrationCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationMethod ¶
type IntegrationMethod struct { // +optional ApicastOnPrem *ApicastOnPrem `json:"apicastOnPrem,omitempty"` // +optional CodePlugin *CodePlugin `json:"codePlugin,omitempty"` // +optional ApicastHosted *ApicastHosted `json:"apicastHosted,omitempty"` }
func (*IntegrationMethod) DeepCopy ¶
func (in *IntegrationMethod) DeepCopy() *IntegrationMethod
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationMethod.
func (*IntegrationMethod) DeepCopyInto ¶
func (in *IntegrationMethod) DeepCopyInto(out *IntegrationMethod)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalAPI ¶
type InternalAPI struct { Name string `json:"name"` APIBaseInternal `json:",omitempty"` Metrics []InternalMetric `json:"metrics,omitempty"` Plans []InternalPlan `json:"Plans,omitempty"` }
func (*InternalAPI) DeepCopy ¶
func (in *InternalAPI) DeepCopy() *InternalAPI
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalAPI.
func (*InternalAPI) DeepCopyInto ¶
func (in *InternalAPI) DeepCopyInto(out *InternalAPI)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (InternalAPI) DeleteFrom3scale ¶
func (api InternalAPI) DeleteFrom3scale(c *portaClient.ThreeScaleClient) error
DeleteFrom3scale Removes an InternalAPI from 3scale
type InternalApicastHosted ¶
type InternalApicastHosted struct { APIcastBaseOptions MappingRules []InternalMappingRule `json:"mappingRules"` }
func (*InternalApicastHosted) DeepCopy ¶
func (in *InternalApicastHosted) DeepCopy() *InternalApicastHosted
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalApicastHosted.
func (*InternalApicastHosted) DeepCopyInto ¶
func (in *InternalApicastHosted) DeepCopyInto(out *InternalApicastHosted)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalApicastHosted) GetCredentialTypeName ¶
func (i *InternalApicastHosted) GetCredentialTypeName() string
func (*InternalApicastHosted) GetMappingRules ¶
func (i *InternalApicastHosted) GetMappingRules() []InternalMappingRule
type InternalApicastOnPrem ¶
type InternalApicastOnPrem struct { APIcastBaseOptions StagingPublicBaseURL string `json:"stagingPublicBaseURL"` ProductionPublicBaseURL string `json:"productionPublicBaseURL"` MappingRules []InternalMappingRule `json:"mappingRules"` }
func (*InternalApicastOnPrem) DeepCopy ¶
func (in *InternalApicastOnPrem) DeepCopy() *InternalApicastOnPrem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalApicastOnPrem.
func (*InternalApicastOnPrem) DeepCopyInto ¶
func (in *InternalApicastOnPrem) DeepCopyInto(out *InternalApicastOnPrem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalApicastOnPrem) GetCredentialTypeName ¶
func (i *InternalApicastOnPrem) GetCredentialTypeName() string
func (*InternalApicastOnPrem) GetMappingRules ¶
func (i *InternalApicastOnPrem) GetMappingRules() []InternalMappingRule
type InternalCodePlugin ¶
type InternalCodePlugin struct {
AuthenticationSettings CodePluginAuthenticationSettings `json:"authenticationSettings"`
}
func (*InternalCodePlugin) DeepCopy ¶
func (in *InternalCodePlugin) DeepCopy() *InternalCodePlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalCodePlugin.
func (*InternalCodePlugin) DeepCopyInto ¶
func (in *InternalCodePlugin) DeepCopyInto(out *InternalCodePlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalCodePlugin) GetCredentialTypeName ¶
func (i *InternalCodePlugin) GetCredentialTypeName() string
func (*InternalCodePlugin) GetMappingRules ¶
func (i *InternalCodePlugin) GetMappingRules() []InternalMappingRule
type InternalCredentials ¶
type InternalCredentials struct { AuthToken string `json:"token"` AdminURL string `json:"adminURL"` }
+k8s:openapi-gen=false
func (*InternalCredentials) DeepCopy ¶
func (in *InternalCredentials) DeepCopy() *InternalCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalCredentials.
func (*InternalCredentials) DeepCopyInto ¶
func (in *InternalCredentials) DeepCopyInto(out *InternalCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalIntegration ¶
type InternalIntegration struct { ApicastOnPrem *InternalApicastOnPrem `json:"apicastOnPrem"` CodePlugin *InternalCodePlugin `json:"codePlugin"` ApicastHosted *InternalApicastHosted `json:"apicastHosted"` }
func (*InternalIntegration) DeepCopy ¶
func (in *InternalIntegration) DeepCopy() *InternalIntegration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalIntegration.
func (*InternalIntegration) DeepCopyInto ¶
func (in *InternalIntegration) DeepCopyInto(out *InternalIntegration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalLimit ¶
type InternalLimit struct { Name string `json:"name"` Period string `json:"period"` MaxValue int64 `json:"maxValue"` Metric string `json:"metric"` }
func (*InternalLimit) DeepCopy ¶
func (in *InternalLimit) DeepCopy() *InternalLimit
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalLimit.
func (*InternalLimit) DeepCopyInto ¶
func (in *InternalLimit) DeepCopyInto(out *InternalLimit)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalMappingRule ¶
type InternalMappingRule struct { Name string `json:"name"` Path string `json:"path"` Method string `json:"method"` Increment int64 `json:"increment"` Metric string `json:"metric"` }
func (*InternalMappingRule) DeepCopy ¶
func (in *InternalMappingRule) DeepCopy() *InternalMappingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalMappingRule.
func (*InternalMappingRule) DeepCopyInto ¶
func (in *InternalMappingRule) DeepCopyInto(out *InternalMappingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalMetric ¶
type InternalMetric struct { Name string `json:"name"` Unit string `json:"unit"` Description string `json:"description"` }
func (*InternalMetric) DeepCopy ¶
func (in *InternalMetric) DeepCopy() *InternalMetric
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalMetric.
func (*InternalMetric) DeepCopyInto ¶
func (in *InternalMetric) DeepCopyInto(out *InternalMetric)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InternalPlan ¶
type InternalPlan struct { Name string `json:"name"` Default bool `json:"default"` TrialPeriodDays int64 `json:"trialPeriodDays"` ApprovalRequired bool `json:"approvalRequired"` Costs PlanCost `json:"costs"` Limits []InternalLimit `json:"limits"` }
func (*InternalPlan) DeepCopy ¶
func (in *InternalPlan) DeepCopy() *InternalPlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalPlan.
func (*InternalPlan) DeepCopyInto ¶
func (in *InternalPlan) DeepCopyInto(out *InternalPlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InternalPlan) Sort ¶
func (plan *InternalPlan) Sort()
type Limit ¶
type Limit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LimitSpec `json:"spec,omitempty"` Status LimitStatus `json:"status,omitempty"` }
Limit is the Schema for the limits API object +k8s:openapi-gen=true
func (*Limit) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Limit.
func (*Limit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Limit) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LimitBase ¶
LimitBase contains the limit period and the max value for said period.
func (*LimitBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitBase.
func (*LimitBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitList ¶
type LimitList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Limit `json:"items"` }
LimitList contains a list of Limit
func (*LimitList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitList.
func (*LimitList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LimitList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LimitObjectRef ¶
type LimitObjectRef struct {
Metric v1.ObjectReference `json:"metricRef"`
}
LimitObjectRef contains he Metric ObjectReference
func (*LimitObjectRef) DeepCopy ¶
func (in *LimitObjectRef) DeepCopy() *LimitObjectRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitObjectRef.
func (*LimitObjectRef) DeepCopyInto ¶
func (in *LimitObjectRef) DeepCopyInto(out *LimitObjectRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitPair ¶
type LimitPair struct { A InternalLimit B InternalLimit }
func (*LimitPair) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitPair.
func (*LimitPair) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitSpec ¶
type LimitSpec struct { LimitBase `json:",inline"` LimitObjectRef `json:",inline"` }
LimitSpec defines SPEC of the limit object, contains LimitBase and the LimitObjectRef
func (*LimitSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitSpec.
func (*LimitSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitStatus ¶
type LimitStatus struct { }
LimitStatus defines the observed state of Limit
func (*LimitStatus) DeepCopy ¶
func (in *LimitStatus) DeepCopy() *LimitStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitStatus.
func (*LimitStatus) DeepCopyInto ¶
func (in *LimitStatus) DeepCopyInto(out *LimitStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LimitsDiff ¶
type LimitsDiff struct { MissingFromA []InternalLimit MissingFromB []InternalLimit Equal []InternalLimit NotEqual []LimitPair }
func (*LimitsDiff) DeepCopy ¶
func (in *LimitsDiff) DeepCopy() *LimitsDiff
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitsDiff.
func (*LimitsDiff) DeepCopyInto ¶
func (in *LimitsDiff) DeepCopyInto(out *LimitsDiff)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRule ¶
type MappingRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MappingRuleSpec `json:"spec,omitempty"` Status MappingRuleStatus `json:"status,omitempty"` }
MappingRule is the Schema for the mappingrules API +k8s:openapi-gen=true
func (*MappingRule) DeepCopy ¶
func (in *MappingRule) DeepCopy() *MappingRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRule.
func (*MappingRule) DeepCopyInto ¶
func (in *MappingRule) DeepCopyInto(out *MappingRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MappingRule) DeepCopyObject ¶
func (in *MappingRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MappingRuleBase ¶
type MappingRuleBase struct { Path string `json:"path"` Method string `json:"method"` Increment int64 `json:"increment"` }
func (*MappingRuleBase) DeepCopy ¶
func (in *MappingRuleBase) DeepCopy() *MappingRuleBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleBase.
func (*MappingRuleBase) DeepCopyInto ¶
func (in *MappingRuleBase) DeepCopyInto(out *MappingRuleBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRuleDiff ¶
type MappingRuleDiff struct { MissingFromA []InternalMappingRule MissingFromB []InternalMappingRule Equal []InternalMappingRule NotEqual []MappingRulePair }
TODO: Refactor Diffs.
func (*MappingRuleDiff) DeepCopy ¶
func (in *MappingRuleDiff) DeepCopy() *MappingRuleDiff
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleDiff.
func (*MappingRuleDiff) DeepCopyInto ¶
func (in *MappingRuleDiff) DeepCopyInto(out *MappingRuleDiff)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRuleList ¶
type MappingRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MappingRule `json:"items"` }
MappingRuleList contains a list of MappingRule
func (*MappingRuleList) DeepCopy ¶
func (in *MappingRuleList) DeepCopy() *MappingRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleList.
func (*MappingRuleList) DeepCopyInto ¶
func (in *MappingRuleList) DeepCopyInto(out *MappingRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MappingRuleList) DeepCopyObject ¶
func (in *MappingRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MappingRuleMetricRef ¶
type MappingRuleMetricRef struct {
MetricRef v1.ObjectReference `json:"metricRef"`
}
func (*MappingRuleMetricRef) DeepCopy ¶
func (in *MappingRuleMetricRef) DeepCopy() *MappingRuleMetricRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleMetricRef.
func (*MappingRuleMetricRef) DeepCopyInto ¶
func (in *MappingRuleMetricRef) DeepCopyInto(out *MappingRuleMetricRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRulePair ¶
type MappingRulePair struct { A InternalAPI B InternalAPI }
func (*MappingRulePair) DeepCopy ¶
func (in *MappingRulePair) DeepCopy() *MappingRulePair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRulePair.
func (*MappingRulePair) DeepCopyInto ¶
func (in *MappingRulePair) DeepCopyInto(out *MappingRulePair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRuleSpec ¶
type MappingRuleSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file MappingRuleBase `json:",inline"` MappingRuleMetricRef `json:",inline"` }
MappingRuleSpec defines the desired state of MappingRule
func (*MappingRuleSpec) DeepCopy ¶
func (in *MappingRuleSpec) DeepCopy() *MappingRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleSpec.
func (*MappingRuleSpec) DeepCopyInto ¶
func (in *MappingRuleSpec) DeepCopyInto(out *MappingRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MappingRuleStatus ¶
type MappingRuleStatus struct { }
MappingRuleStatus defines the observed state of MappingRule
func (*MappingRuleStatus) DeepCopy ¶
func (in *MappingRuleStatus) DeepCopy() *MappingRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MappingRuleStatus.
func (*MappingRuleStatus) DeepCopyInto ¶
func (in *MappingRuleStatus) DeepCopyInto(out *MappingRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchLabels ¶
type MatchLabels struct {
API string `json:"api"`
}
func (*MatchLabels) DeepCopy ¶
func (in *MatchLabels) DeepCopy() *MatchLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchLabels.
func (*MatchLabels) DeepCopyInto ¶
func (in *MatchLabels) DeepCopyInto(out *MatchLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metric ¶
type Metric struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MetricSpec `json:"spec,omitempty"` Status MetricStatus `json:"status,omitempty"` }
Metric is the Schema for the metrics API +k8s:openapi-gen=true
func (*Metric) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.
func (*Metric) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Metric) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricList ¶
type MetricList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Metric `json:"items"` }
MetricList contains a list of Metric
func (*MetricList) DeepCopy ¶
func (in *MetricList) DeepCopy() *MetricList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricList.
func (*MetricList) DeepCopyInto ¶
func (in *MetricList) DeepCopyInto(out *MetricList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricList) DeepCopyObject ¶
func (in *MetricList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MetricSpec ¶
type MetricSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file Unit string `json:"unit"` Description string `json:"description"` IncrementsHits bool `json:"incrementHits"` }
MetricSpec defines the desired state of Metric
func (*MetricSpec) DeepCopy ¶
func (in *MetricSpec) DeepCopy() *MetricSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (*MetricSpec) DeepCopyInto ¶
func (in *MetricSpec) DeepCopyInto(out *MetricSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricStatus ¶
type MetricStatus struct { }
MetricStatus defines the observed state of Metric
func (*MetricStatus) DeepCopy ¶
func (in *MetricStatus) DeepCopy() *MetricStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricStatus.
func (*MetricStatus) DeepCopyInto ¶
func (in *MetricStatus) DeepCopyInto(out *MetricStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsDiff ¶
type MetricsDiff struct { MissingFromA []InternalMetric MissingFromB []InternalMetric Equal []InternalMetric NotEqual []MetricsPair }
func (*MetricsDiff) DeepCopy ¶
func (in *MetricsDiff) DeepCopy() *MetricsDiff
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsDiff.
func (*MetricsDiff) DeepCopyInto ¶
func (in *MetricsDiff) DeepCopyInto(out *MetricsDiff)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricsDiff) ReconcileWith3scale ¶
func (d *MetricsDiff) ReconcileWith3scale(c *portaClient.ThreeScaleClient, serviceId string, api InternalAPI) error
type MetricsPair ¶
type MetricsPair struct { A InternalMetric B InternalMetric }
func (*MetricsPair) DeepCopy ¶
func (in *MetricsPair) DeepCopy() *MetricsPair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsPair.
func (*MetricsPair) DeepCopyInto ¶
func (in *MetricsPair) DeepCopyInto(out *MetricsPair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenIDConnector ¶
type OpenIDConnector struct { Issuer string `json:"issuer"` CredentialsLocation string `json:"credentialsLocation"` }
func (*OpenIDConnector) DeepCopy ¶
func (in *OpenIDConnector) DeepCopy() *OpenIDConnector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnector.
func (*OpenIDConnector) DeepCopyInto ¶
func (in *OpenIDConnector) DeepCopyInto(out *OpenIDConnector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Plan ¶
type Plan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PlanSpec `json:"spec,omitempty"` Status PlanStatus `json:"status,omitempty"` }
Plan is the Schema for the plans API +k8s:openapi-gen=true
func (*Plan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plan.
func (*Plan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlanBase ¶
type PlanBase struct { Default bool `json:"default"` TrialPeriod int64 `json:"trialPeriod"` ApprovalRequired bool `json:"approvalRequired"` // +optional Costs PlanCost `json:"costs,omitempty"` }
func (*PlanBase) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanBase.
func (*PlanBase) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanCost ¶
type PlanCost struct { SetupFee float64 `json:"setupFee,omitempty"` CostMonth float64 `json:"costMonth,omitempty"` }
func (*PlanCost) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanCost.
func (*PlanCost) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanList ¶
type PlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Plan `json:"items"` }
PlanList contains a list of Plan
func (*PlanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanList.
func (*PlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlanSelectors ¶
type PlanSelectors struct {
LimitSelector metav1.LabelSelector `json:"limitSelector"`
}
func (*PlanSelectors) DeepCopy ¶
func (in *PlanSelectors) DeepCopy() *PlanSelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanSelectors.
func (*PlanSelectors) DeepCopyInto ¶
func (in *PlanSelectors) DeepCopyInto(out *PlanSelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanSpec ¶
type PlanSpec struct { PlanBase `json:",inline"` PlanSelectors `json:",inline"` }
PlanSpec defines the desired state of Plan
func (*PlanSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanSpec.
func (*PlanSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlanStatus ¶
type PlanStatus struct { }
PlanStatus defines the observed state of Plan
func (*PlanStatus) DeepCopy ¶
func (in *PlanStatus) DeepCopy() *PlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanStatus.
func (*PlanStatus) DeepCopyInto ¶
func (in *PlanStatus) DeepCopyInto(out *PlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type State ¶
type State struct { Credentials InternalCredentials `json:"credentials"` APIs []InternalAPI `json:"apis"` }
State defines an snapshot of the APIs and credentials
func (*State) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.
func (*State) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tenant ¶
type Tenant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TenantSpec `json:"spec,omitempty"` Status TenantStatus `json:"status,omitempty"` }
Tenant is the Schema for the tenants API +k8s:openapi-gen=true
func (*Tenant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tenant.
func (*Tenant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Tenant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Tenant) SetDefaults ¶
SetDefaults sets the default vaules for the tenant spec and returns true if the spec was changed
type TenantList ¶
type TenantList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Tenant `json:"items"` }
TenantList contains a list of Tenant
func (*TenantList) DeepCopy ¶
func (in *TenantList) DeepCopy() *TenantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantList.
func (*TenantList) DeepCopyInto ¶
func (in *TenantList) DeepCopyInto(out *TenantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TenantList) DeepCopyObject ¶
func (in *TenantList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TenantSpec ¶
type TenantSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file UserName string `json:"username"` Email string `json:"email"` OrgName string `json:"organizationName"` SystemMasterURL string `json:"systemMasterUrl"` TenantSecretRef v1.SecretReference `json:"tenantSecretRef"` AdminPasswordRef v1.SecretReference `json:"passwordCredentialsRef"` MasterCredentialsRef v1.SecretReference `json:"masterCredentialsRef"` }
TenantSpec defines the desired state of Tenant
func (*TenantSpec) DeepCopy ¶
func (in *TenantSpec) DeepCopy() *TenantSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantSpec.
func (*TenantSpec) DeepCopyInto ¶
func (in *TenantSpec) DeepCopyInto(out *TenantSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TenantStatus ¶
type TenantStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file TenantID int64 `json:"tenantID"` AdminUserID int64 `json:"adminID"` }
TenantStatus defines the observed state of Tenant
func (*TenantStatus) DeepCopy ¶
func (in *TenantStatus) DeepCopy() *TenantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TenantStatus.
func (*TenantStatus) DeepCopyInto ¶
func (in *TenantStatus) DeepCopyInto(out *TenantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.