v1alpha1

package
v0.0.0-...-9ef13ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=charlescd.io

Index

Constants

This section is empty.

Variables

View Source
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

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

func (in *Circle) DeepCopy() *Circle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Circle.

func (*Circle) DeepCopyInto

func (in *Circle) DeepCopyInto(out *Circle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Circle) DeepCopyObject

func (in *Circle) DeepCopyObject() runtime.Object

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

type CircleMatch struct {
	Headers map[string]string `json:"headers,omitempty"`
}

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

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

func (in *Module) DeepCopy() *Module

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Module) DeepCopyObject

func (in *Module) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ModuleAuth

type ModuleAuth struct {
	AuthType      string `json:"type,omitempty"`
	SshPrivateKey string `json:"sshPrivateKey,omitempty"`
	Username      string `json:"username,omitempty"`
	Password      string `json:"password,omitempty"`
	AccessToken   string `json:"accessToken,omitempty"`
}

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.

type Override

type Override struct {
	Key   string `json:"key,omitempty"`
	Value string `json:"value,omitempty"`
}

func (*Override) DeepCopy

func (in *Override) DeepCopy() *Override

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Override.

func (*Override) DeepCopyInto

func (in *Override) DeepCopyInto(out *Override)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretRef

type SecretRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL