Documentation ¶
Overview ¶
+groupName=remoteenvironment.kyma.cx
Index ¶
- Variables
- func Resource(resource string) schema.GroupResource
- type ConditionStatus
- type Entry
- type EnvironmentMapping
- type EnvironmentMappingList
- type EventActivation
- type EventActivationList
- type EventActivationSpec
- type REStatus
- type ReCondition
- type ReConditionType
- type RemoteEnvironment
- type RemoteEnvironmentList
- type RemoteEnvironmentSpec
- type Service
- type Source
Constants ¶
This section is empty.
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: "remoteenvironment.kyma.cx", Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus represents a condition's status.
const ( // ConditionTrue represents the fact that a given condition is true ConditionTrue ConditionStatus = "True" // ConditionFalse represents the fact that a given condition is false ConditionFalse ConditionStatus = "False" // ConditionUnknown represents the fact that a given condition is unknown ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type Entry ¶
type Entry struct { Type string `json:"type"` GatewayUrl string `json:"gatewayUrl"` // AccessLabel is not required for Events, 'omitempty' is needed because of regexp validation AccessLabel string `json:"accessLabel,omitempty"` TargetUrl string `json:"targetUrl"` OauthUrl string `json:"oauthUrl"` CredentialsSecretName string `json:"credentialsSecretName"` }
Entry defines, what is enabled by activating the service.
func (*Entry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Entry.
func (*Entry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentMapping ¶
type EnvironmentMapping struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` }
func (*EnvironmentMapping) DeepCopy ¶
func (in *EnvironmentMapping) DeepCopy() *EnvironmentMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentMapping.
func (*EnvironmentMapping) DeepCopyInto ¶
func (in *EnvironmentMapping) DeepCopyInto(out *EnvironmentMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentMapping) DeepCopyObject ¶
func (in *EnvironmentMapping) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EnvironmentMapping) GetObjectKind ¶
func (rem *EnvironmentMapping) GetObjectKind() schema.ObjectKind
type EnvironmentMappingList ¶
type EnvironmentMappingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []EnvironmentMapping `json:"items"` }
func (*EnvironmentMappingList) DeepCopy ¶
func (in *EnvironmentMappingList) DeepCopy() *EnvironmentMappingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentMappingList.
func (*EnvironmentMappingList) DeepCopyInto ¶
func (in *EnvironmentMappingList) DeepCopyInto(out *EnvironmentMappingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentMappingList) DeepCopyObject ¶
func (in *EnvironmentMappingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventActivation ¶
type EventActivation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec EventActivationSpec `json:"spec"` }
func (*EventActivation) DeepCopy ¶
func (in *EventActivation) DeepCopy() *EventActivation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActivation.
func (*EventActivation) DeepCopyInto ¶
func (in *EventActivation) DeepCopyInto(out *EventActivation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventActivation) DeepCopyObject ¶
func (in *EventActivation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventActivationList ¶
type EventActivationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []EventActivation `json:"items"` }
func (*EventActivationList) DeepCopy ¶
func (in *EventActivationList) DeepCopy() *EventActivationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActivationList.
func (*EventActivationList) DeepCopyInto ¶
func (in *EventActivationList) DeepCopyInto(out *EventActivationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventActivationList) DeepCopyObject ¶
func (in *EventActivationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventActivationSpec ¶
type EventActivationSpec struct { DisplayName string `json:"displayName"` Source Source `json:"source"` }
func (*EventActivationSpec) DeepCopy ¶
func (in *EventActivationSpec) DeepCopy() *EventActivationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventActivationSpec.
func (*EventActivationSpec) DeepCopyInto ¶
func (in *EventActivationSpec) DeepCopyInto(out *EventActivationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type REStatus ¶
type REStatus struct {
Conditions []ReCondition `json:"conditions"`
}
func (*REStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new REStatus.
func (*REStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReCondition ¶
type ReCondition struct { // Type of the condition, currently ('Ready'). Type ReConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
func (*ReCondition) DeepCopy ¶
func (in *ReCondition) DeepCopy() *ReCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReCondition.
func (*ReCondition) DeepCopyInto ¶
func (in *ReCondition) DeepCopyInto(out *ReCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReConditionType ¶
type ReConditionType string
ReConditionType represents an Issuer condition value.
const ( // IssuerConditionReady represents the fact that a given Issuer condition // is in ready state. Stage1Done ReConditionType = "Stage_1" Stage2Done ReConditionType = "Stage_2" Stage3Done ReConditionType = "Stage_3" )
type RemoteEnvironment ¶
type RemoteEnvironment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec RemoteEnvironmentSpec `json:"spec"` Status REStatus `json:"status,omitempty"` }
func (*RemoteEnvironment) DeepCopy ¶
func (in *RemoteEnvironment) DeepCopy() *RemoteEnvironment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteEnvironment.
func (*RemoteEnvironment) DeepCopyInto ¶
func (in *RemoteEnvironment) DeepCopyInto(out *RemoteEnvironment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteEnvironment) DeepCopyObject ¶
func (in *RemoteEnvironment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RemoteEnvironment) GetObjectKind ¶
func (pw *RemoteEnvironment) GetObjectKind() schema.ObjectKind
type RemoteEnvironmentList ¶
type RemoteEnvironmentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RemoteEnvironment `json:"items"` }
func (*RemoteEnvironmentList) DeepCopy ¶
func (in *RemoteEnvironmentList) DeepCopy() *RemoteEnvironmentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteEnvironmentList.
func (*RemoteEnvironmentList) DeepCopyInto ¶
func (in *RemoteEnvironmentList) DeepCopyInto(out *RemoteEnvironmentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteEnvironmentList) DeepCopyObject ¶
func (in *RemoteEnvironmentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteEnvironmentSpec ¶
type RemoteEnvironmentSpec struct { Description string `json:"description"` Source Source `json:"source"` Services []Service `json:"services"` // AccessLabel is not required, 'omitempty' is needed because of regexp validation AccessLabel string `json:"accessLabel,omitempty"` }
RemoteEnvironmentSpec defines spec section of the RemoteEnvironment custom resource
func (*RemoteEnvironmentSpec) DeepCopy ¶
func (in *RemoteEnvironmentSpec) DeepCopy() *RemoteEnvironmentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteEnvironmentSpec.
func (*RemoteEnvironmentSpec) DeepCopyInto ¶
func (in *RemoteEnvironmentSpec) DeepCopyInto(out *RemoteEnvironmentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { ID string `json:"id"` DisplayName string `json:"displayName"` LongDescription string `json:"longDescription"` ProviderDisplayName string `json:"providerDisplayName"` Tags []string `json:"tags,omitempty"` Entries []Entry `json:"entries"` }
Service represents part of the remote environment, which is mapped 1 to 1 to service class in the service-catalog
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Source ¶
type Source struct { Environment string `json:"environment"` Type string `json:"type"` Namespace string `json:"namespace"` }
Source defines attributes, which identifies remote environments.
func (*Source) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Source.
func (*Source) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.