Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=gitkube.sh
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BuildArg
- type ContainerSpec
- type CredentialsSpec
- type DeploymentSpec
- type HelmSpec
- type ManifestSpec
- type NameValue
- type RegistrySpec
- type Remote
- type RemoteList
- type RemoteSpec
- type RemoteStatus
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: gitkubesh.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 BuildArg ¶ added in v0.2.0
func (*BuildArg) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildArg.
func (*BuildArg) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerSpec ¶
type ContainerSpec struct { // Name of container Name string `json:"name"` // Location of source code in the git repo for the container Path string `json:"path"` // Location of dockerfile for the container Dockerfile string `json:"dockerfile"` // Docker build args --build-args BuildArgs []BuildArg `json:"buildArgs,omitempty"` }
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialsSpec ¶
type CredentialsSpec struct { // Secret which points to a docker-registry secret SecretRef string `json:"secretRef,omitempty"` // Secret with key ref which points to a docker-registry secret SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"` }
func (*CredentialsSpec) DeepCopy ¶
func (in *CredentialsSpec) DeepCopy() *CredentialsSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialsSpec.
func (*CredentialsSpec) DeepCopyInto ¶
func (in *CredentialsSpec) DeepCopyInto(out *CredentialsSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentSpec ¶
type DeploymentSpec struct { // Name of the deployment Name string `json:"name"` // List of container spec which are part of the deployment Containers []ContainerSpec `json:"containers"` }
func (*DeploymentSpec) DeepCopy ¶
func (in *DeploymentSpec) DeepCopy() *DeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (*DeploymentSpec) DeepCopyInto ¶
func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmSpec ¶ added in v0.2.0
type HelmSpec struct { Release string `json:"release,omitempty"` Values []NameValue `json:"values,omitempty"` }
func (*HelmSpec) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmSpec.
func (*HelmSpec) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestSpec ¶ added in v0.2.0
type ManifestSpec struct { // Location of manifests folder Path string `json:"path"` // Helm spec contains release name and list of values to be set during helm install // +optional Helm HelmSpec `json:"helm,omitempty"` }
func (*ManifestSpec) DeepCopy ¶ added in v0.3.0
func (in *ManifestSpec) DeepCopy() *ManifestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestSpec.
func (*ManifestSpec) DeepCopyInto ¶ added in v0.3.0
func (in *ManifestSpec) DeepCopyInto(out *ManifestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NameValue ¶ added in v0.2.0
func (*NameValue) DeepCopy ¶ added in v0.3.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValue.
func (*NameValue) DeepCopyInto ¶ added in v0.3.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistrySpec ¶
type RegistrySpec struct { // Url of the external registry where built images should be pushed // E.g. registry.harbor.io/library Url string `json:"url,omitempty"` // Credentials for registry Credentials CredentialsSpec `json:"credentials,omitempty"` }
func (*RegistrySpec) DeepCopy ¶
func (in *RegistrySpec) DeepCopy() *RegistrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySpec.
func (*RegistrySpec) DeepCopyInto ¶
func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Remote ¶
type Remote struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RemoteSpec `json:"spec"` Status RemoteStatus `json:"status"` }
Remote is the definition of a remote
func (*Remote) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Remote.
func (*Remote) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Remote) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteList ¶
type RemoteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Remote `json:"items"` }
RemoteList is a list of Remotes
func (*RemoteList) DeepCopy ¶
func (in *RemoteList) DeepCopy() *RemoteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteList.
func (*RemoteList) DeepCopyInto ¶
func (in *RemoteList) DeepCopyInto(out *RemoteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteList) DeepCopyObject ¶
func (in *RemoteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RemoteSpec ¶
type RemoteSpec struct { // SSH public keys for git push authorization AuthorizedKeys []string `json:"authorizedKeys"` // Registry details for pushing and pulling from external registry // +optional Registry RegistrySpec `json:"registry,omitempty"` // Details for initializing manifests like k8s yamls or helm charts Manifests ManifestSpec `json:"manifests,omitempty"` // List of deployment spec. // Deployment spec defines which deployments are under gitkube management Deployments []DeploymentSpec `json:"deployments"` }
func (*RemoteSpec) DeepCopy ¶
func (in *RemoteSpec) DeepCopy() *RemoteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteSpec.
func (*RemoteSpec) DeepCopyInto ¶
func (in *RemoteSpec) DeepCopyInto(out *RemoteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RemoteStatus ¶
type RemoteStatus struct { // Url of the git remote where the repo is pushed RemoteUrl string `json:"remoteUrl"` // Description of RemoteUrl // Contains error description if RemoteUrl is not available RemoteUrlDesc string `json:"remoteUrlDesc"` }
func (*RemoteStatus) DeepCopy ¶
func (in *RemoteStatus) DeepCopy() *RemoteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteStatus.
func (*RemoteStatus) DeepCopyInto ¶
func (in *RemoteStatus) DeepCopyInto(out *RemoteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.