Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type APIManager
- type APIManagerList
- type APIManagerSpec
- type APIManagerStatus
- type Artifacts
- type Configmap
- type Deployment
- type NewVolume
- type PVC
- type PVCServer
- type Ports
- type Probe
- type Profile
- type Resources
- type Service
- type Storage
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: apim.GroupName, 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 APIManager ¶
type APIManager struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec APIManagerSpec `json:"spec"` Status APIManagerStatus `json:"status"` }
Apimanager is a specification for a Apimanager resource
func (*APIManager) DeepCopy ¶
func (in *APIManager) DeepCopy() *APIManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIManager.
func (*APIManager) DeepCopyInto ¶
func (in *APIManager) DeepCopyInto(out *APIManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIManager) DeepCopyObject ¶
func (in *APIManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIManagerList ¶
type APIManagerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []APIManager `json:"items"` }
APIManagerList is a list of APIManager resources
func (*APIManagerList) DeepCopy ¶
func (in *APIManagerList) DeepCopy() *APIManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIManagerList.
func (*APIManagerList) DeepCopyInto ¶
func (in *APIManagerList) DeepCopyInto(out *APIManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIManagerList) DeepCopyObject ¶
func (in *APIManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIManagerSpec ¶
type APIManagerSpec struct { // Here set UseMysql as string type to set true as default, and since using apiextensions.k8s.io/v1beta1 // and not using apiextensions.k8s.io/v1 UseMysql string `json:"useMysql"` Pattern string `json:"pattern"` Replicas *int32 `json:"replicas"` Profiles []Profile `json:"profiles"` Service Service `json:"service"` Expose string `json:"expose"` }
APIManagerSpec is the spec for a APIManager resource
func (*APIManagerSpec) DeepCopy ¶
func (in *APIManagerSpec) DeepCopy() *APIManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIManagerSpec.
func (*APIManagerSpec) DeepCopyInto ¶
func (in *APIManagerSpec) DeepCopyInto(out *APIManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIManagerStatus ¶
type APIManagerStatus struct {
AvailableReplicas int32 `json:"availableReplicas"`
}
APIManagerStatus is the status for a APIManager resource
func (*APIManagerStatus) DeepCopy ¶
func (in *APIManagerStatus) DeepCopy() *APIManagerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIManagerStatus.
func (*APIManagerStatus) DeepCopyInto ¶
func (in *APIManagerStatus) DeepCopyInto(out *APIManagerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Artifacts ¶
type Artifacts struct {
Deployment Deployment `json:"deployment"`
}
func (*Artifacts) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Artifacts.
func (*Artifacts) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Configmap ¶
type Configmap struct { DeploymentConfigmap string `json:"deploymentConfigMap"` NewConfigmap []NewVolume `json:"newConfigMap"` }
func (*Configmap) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configmap.
func (*Configmap) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployment ¶
type Deployment struct { Resources Resources `json:"resources"` Replicas *int32 `json:"replicas"` MinReadySeconds int32 `json:"minReadySeconds"` //Strategy Strategy `json:"strategy"` Image string `json:"image"` ImagePullPolicy string `json:"imagePullPolicy"` LivenessProbe Probe `json:"livenessProbe"` ReadinessProbe Probe `json:"readinessProbe"` Configmaps Configmap `json:"configMaps"` PersistentVolumeClaim PVC `json:"persistentVolumeClaim"` }
func (*Deployment) DeepCopy ¶ added in v1.1.0
func (in *Deployment) DeepCopy() *Deployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (*Deployment) DeepCopyInto ¶ added in v1.1.0
func (in *Deployment) DeepCopyInto(out *Deployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NewVolume ¶
func (*NewVolume) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NewVolume.
func (*NewVolume) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PVC ¶
type PVC struct { SynapseConfigs string `json:"synapseConfigs"` ExecutionPlans string `json:"executionPlans"` NewClaim []NewVolume `json:"newClaim"` }
func (*PVC) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVC.
func (*PVC) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PVCServer ¶
type PVCServer struct { SynapseConfigs string `json:"synapseConfigs"` ExecutionPlans string `json:"executionPlans"` }
func (*PVCServer) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PVCServer.
func (*PVCServer) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
func (*Ports) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Probe ¶
type Probe struct { InitialDelaySeconds int32 `json:"initialDelaySeconds"` FailureThreshold int32 `json:"failureThreshold"` PeriodSeconds int32 `json:"periodSeconds"` }
func (*Probe) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
func (*Probe) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct { Name string `json:"name"` Deployment Deployment `json:"deployment"` Type string `json:"type"` Service Service `json:"service"` }
func (*Profile) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resources ¶
func (*Resources) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resources.
func (*Resources) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { Name string `json:"name"` Type string `json:"type"` Ports []Ports `json:"ports"` }
func (*Service) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
func (*Storage) DeepCopy ¶ added in v1.1.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶ added in v1.1.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.