Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apigateway v1alpha1 API group +kubebuilder:object:generate=true +groupName=self.awsctrl.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "self.awsctrl.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigSpec `json:"spec,omitempty"` Status ConfigStatus `json:"status,omitempty"` }
Config is the Schema for the Configs API
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigAWS ¶
type ConfigAWS struct { // DefaultRegion configures which region a stack should be provisioned into by default DefaultRegion string `json:"defaultRegion"` // SupportedRegions configures which regions CRDs can deploy into SupportedRegions []string `json:"supportedRegions"` // AccountID defines the account which each resource is connected to // +optional AccountID string `json:"accountID,omitempty"` }
ConfigAWS contains all the AWS specific details
func (*ConfigAWS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigAWS.
func (*ConfigAWS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigConditionType ¶
type ConfigConditionType string
ConfigConditionType defines type for config condition type.
const ( // ConfigConditionReady represents the readiness of the AWS Controller. ConfigConditionReady ConfigConditionType = "Ready" // ConfigConditionPendingAWSConfiguration represents the controller not // being configured with AWS ConfigConditionPendingAWSConfiguration ConfigConditionType = "PendingAWSConfiguration" )
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Config `json:"items"` }
ConfigList contains a list of Config
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigSpec ¶
type ConfigSpec struct { // ClusterName is the identity for categorizing all resources under ClusterName string `json:"clusterName"` // AWS contains all the AWS Account specific details AWS ConfigAWS `json:"aws"` // Resources is a whitelist of Services and Resources to enable // +optional Resources []string `json:"resources,omitempty"` // Sync is the config for the syncing parameters // +optional Sync ConfigSync `json:"sync,omitempty"` // Version stores the operator version information // +optional Version *goversion.Info `json:"version,omitempty"` }
ConfigSpec defines the desired state of Config
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatus ¶
type ConfigStatus struct { // Conditions defines the stages the deployment is in // +optional Conditions []ConfigStatusCondition `json:"conditions,omitempty"` }
ConfigStatus defines the observed state of Config
func (*ConfigStatus) DeepCopy ¶
func (in *ConfigStatus) DeepCopy() *ConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatus.
func (*ConfigStatus) DeepCopyInto ¶
func (in *ConfigStatus) DeepCopyInto(out *ConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigStatusCondition ¶
type ConfigStatusCondition struct { // type of cluster condition, values in (\"Ready\") Type ConfigConditionType `json:"type"` // Status of the condition, one of (\"True\", \"False\", \"Unknown\") Status corev1.ConditionStatus `json:"status"` // LastTransitionTime LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Message defines the human readable message for the condition // +optional Message string `json:"message,omitempty"` // Reason defines the Machine readable status // +optional Reason string `json:"reason,omitempty"` }
ConfigStatusCondition defines the conditions the operator is in
func (*ConfigStatusCondition) DeepCopy ¶
func (in *ConfigStatusCondition) DeepCopy() *ConfigStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigStatusCondition.
func (*ConfigStatusCondition) DeepCopyInto ¶
func (in *ConfigStatusCondition) DeepCopyInto(out *ConfigStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSync ¶
type ConfigSync struct { // Enabled turns on the syncing Enabled bool `json:"enabled"` }
ConfigSync contains the sync configurations
func (*ConfigSync) DeepCopy ¶
func (in *ConfigSync) DeepCopy() *ConfigSync
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSync.
func (*ConfigSync) DeepCopyInto ¶
func (in *ConfigSync) DeepCopyInto(out *ConfigSync)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.