Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=charlescd.io
Index ¶
- Variables
- type CanaryDeployStrategy
- type Circle
- type CircleEnvironments
- type CircleList
- type CircleMatch
- type CircleModule
- type CircleModuleResource
- type CircleModuleStatus
- type CircleRouting
- type CircleSegment
- type CircleSpec
- type CircleStatus
- type MatchRouteStrategy
- type Module
- type ModuleAuth
- type ModuleList
- type ModuleSpec
- type ModuleStatus
- type Override
- type SecretRef
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "charlescd.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 CanaryDeployStrategy ¶
type CanaryDeployStrategy struct {
Weight int `json:"weight"`
}
func (*CanaryDeployStrategy) DeepCopy ¶
func (in *CanaryDeployStrategy) DeepCopy() *CanaryDeployStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CanaryDeployStrategy.
func (*CanaryDeployStrategy) DeepCopyInto ¶
func (in *CanaryDeployStrategy) DeepCopyInto(out *CanaryDeployStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Circle ¶
type Circle struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CircleSpec `json:"spec,omitempty"` Status CircleStatus `json:"status,omitempty"` }
Circle is the Schema for the circles API
func (*Circle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Circle.
func (*Circle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Circle) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CircleEnvironments ¶
type CircleEnvironments struct { Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` }
func (*CircleEnvironments) DeepCopy ¶
func (in *CircleEnvironments) DeepCopy() *CircleEnvironments
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleEnvironments.
func (*CircleEnvironments) DeepCopyInto ¶
func (in *CircleEnvironments) DeepCopyInto(out *CircleEnvironments)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleList ¶
type CircleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Circle `json:"items"` }
CircleList contains a list of Circle
func (*CircleList) DeepCopy ¶
func (in *CircleList) DeepCopy() *CircleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleList.
func (*CircleList) DeepCopyInto ¶
func (in *CircleList) DeepCopyInto(out *CircleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CircleList) DeepCopyObject ¶
func (in *CircleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CircleMatch ¶
func (*CircleMatch) DeepCopy ¶
func (in *CircleMatch) DeepCopy() *CircleMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleMatch.
func (*CircleMatch) DeepCopyInto ¶
func (in *CircleMatch) DeepCopyInto(out *CircleMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleModule ¶
type CircleModule struct { Name string `json:"name,omitempty"` Revision string `json:"revision,omitempty"` Overrides []Override `json:"overrides,omitempty"` Namespace string `json:"namespace,omitempty"` }
func (*CircleModule) DeepCopy ¶
func (in *CircleModule) DeepCopy() *CircleModule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleModule.
func (*CircleModule) DeepCopyInto ¶
func (in *CircleModule) DeepCopyInto(out *CircleModule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleModuleResource ¶
type CircleModuleResource struct { Group string `json:"group,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Health string `json:"status,omitempty"` Error string `json:"error,omitempty"` }
func (*CircleModuleResource) DeepCopy ¶
func (in *CircleModuleResource) DeepCopy() *CircleModuleResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleModuleResource.
func (*CircleModuleResource) DeepCopyInto ¶
func (in *CircleModuleResource) DeepCopyInto(out *CircleModuleResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleModuleStatus ¶
type CircleModuleStatus struct { Status string `json:"status,omitempty"` Error string `json:"error,omitempty"` Resources []CircleModuleResource `json:"resources,omitempty"` }
func (*CircleModuleStatus) DeepCopy ¶
func (in *CircleModuleStatus) DeepCopy() *CircleModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleModuleStatus.
func (*CircleModuleStatus) DeepCopyInto ¶
func (in *CircleModuleStatus) DeepCopyInto(out *CircleModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleRouting ¶
type CircleRouting struct { Strategy string `json:"strategy,omitempty"` Canary *CanaryDeployStrategy `json:"canary,omitempty"` Match *MatchRouteStrategy `json:"default,omitempty"` }
func (*CircleRouting) DeepCopy ¶
func (in *CircleRouting) DeepCopy() *CircleRouting
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleRouting.
func (*CircleRouting) DeepCopyInto ¶
func (in *CircleRouting) DeepCopyInto(out *CircleRouting)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleSegment ¶
type CircleSegment struct { Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Condition string `json:"condition,omitempty"` }
func (*CircleSegment) DeepCopy ¶
func (in *CircleSegment) DeepCopy() *CircleSegment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleSegment.
func (*CircleSegment) DeepCopyInto ¶
func (in *CircleSegment) DeepCopyInto(out *CircleSegment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleSpec ¶
type CircleSpec struct { Author string `json:"author,omitempty"` Description string `json:"description,omitempty"` Namespace string `json:"namespace,omitempty"` IsDefault bool `json:"isDefault,omitempty"` Routing CircleRouting `json:"routing,omitempty"` Modules []CircleModule `json:"modules,omitempty"` Environments []CircleEnvironments `json:"environments,omitempty"` }
CircleSpec defines the desired state of Circle
func (*CircleSpec) DeepCopy ¶
func (in *CircleSpec) DeepCopy() *CircleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleSpec.
func (*CircleSpec) DeepCopyInto ¶
func (in *CircleSpec) DeepCopyInto(out *CircleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CircleStatus ¶
type CircleStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` Status string `json:"status,omitempty"` Modules map[string]CircleModuleStatus `json:"modules,omitempty"` Error string `json:"error,omitempty"` }
CircleStatus defines the observed state of Circle
func (*CircleStatus) DeepCopy ¶
func (in *CircleStatus) DeepCopy() *CircleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CircleStatus.
func (*CircleStatus) DeepCopyInto ¶
func (in *CircleStatus) DeepCopyInto(out *CircleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchRouteStrategy ¶
type MatchRouteStrategy struct { CustomMatch *CircleMatch `json:"customMatch,omitempty"` Segments []*CircleSegment `json:"segments,omitempty"` }
func (*MatchRouteStrategy) DeepCopy ¶
func (in *MatchRouteStrategy) DeepCopy() *MatchRouteStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchDeployStartegy.
func (*MatchRouteStrategy) DeepCopyInto ¶
func (in *MatchRouteStrategy) DeepCopyInto(out *MatchRouteStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Module ¶
type Module struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ModuleSpec `json:"spec,omitempty"` Status ModuleStatus `json:"status,omitempty"` }
Module is the Schema for the modules API
func (*Module) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Module) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleAuth ¶
type ModuleList ¶
type ModuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Module `json:"items"` }
ModuleList contains a list of Module
func (*ModuleList) DeepCopy ¶
func (in *ModuleList) DeepCopy() *ModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleList.
func (*ModuleList) DeepCopyInto ¶
func (in *ModuleList) DeepCopyInto(out *ModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleList) DeepCopyObject ¶
func (in *ModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleSpec ¶
type ModuleSpec struct { Author string `json:"author,omitempty"` SecretRef *SecretRef `json:"secretRef,omitempty"` Path string `json:"path,omitempty"` Url string `json:"url,omitempty"` TemplateType string `json:"templateType,omitempty"` Auth *ModuleAuth `json:"auth,omitempty"` }
func (*ModuleSpec) DeepCopy ¶
func (in *ModuleSpec) DeepCopy() *ModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSpec.
func (*ModuleSpec) DeepCopyInto ¶
func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleStatus ¶
type ModuleStatus struct { Status string `json:"status,omitempty"` Error string `json:"error,omitempty"` }
ModuleStatus defines the observed state of Module
func (*ModuleStatus) DeepCopy ¶
func (in *ModuleStatus) DeepCopy() *ModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleStatus.
func (*ModuleStatus) DeepCopyInto ¶
func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.