gitkube: github.com/hasura/gitkube/pkg/apis/gitkube.sh/v1alpha1 Index | Files

package v1alpha1

import "github.com/hasura/gitkube/pkg/apis/gitkube.sh/v1alpha1"

Package v1alpha1 is the v1alpha1 version of the API. +groupName=gitkube.sh

Index

Package Files

doc.go register.go types.go zz_generated.deepcopy.go

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

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type BuildArg Uses

type BuildArg struct {
    Name  string `json:"name"`
    Value string `json:"value"`
}

func (*BuildArg) DeepCopy Uses

func (in *BuildArg) DeepCopy() *BuildArg

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

func (*BuildArg) DeepCopyInto Uses

func (in *BuildArg) DeepCopyInto(out *BuildArg)

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

type ContainerSpec Uses

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 Uses

func (in *ContainerSpec) DeepCopy() *ContainerSpec

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

func (*ContainerSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *CredentialsSpec) DeepCopy() *CredentialsSpec

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

func (*CredentialsSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

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

func (*DeploymentSpec) DeepCopyInto Uses

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 Uses

type HelmSpec struct {
    Release string      `json:"release,omitempty"`
    Values  []NameValue `json:"values,omitempty"`
}

func (*HelmSpec) DeepCopy Uses

func (in *HelmSpec) DeepCopy() *HelmSpec

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

func (*HelmSpec) DeepCopyInto Uses

func (in *HelmSpec) DeepCopyInto(out *HelmSpec)

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

type ManifestSpec Uses

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 Uses

func (in *ManifestSpec) DeepCopy() *ManifestSpec

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

func (*ManifestSpec) DeepCopyInto Uses

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 Uses

type NameValue struct {
    Name  string `json:"name"`
    Value string `json:"value"`
}

func (*NameValue) DeepCopy Uses

func (in *NameValue) DeepCopy() *NameValue

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

func (*NameValue) DeepCopyInto Uses

func (in *NameValue) DeepCopyInto(out *NameValue)

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

type RegistrySpec Uses

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 Uses

func (in *RegistrySpec) DeepCopy() *RegistrySpec

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

func (*RegistrySpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *Remote) DeepCopy() *Remote

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

func (*Remote) DeepCopyInto Uses

func (in *Remote) DeepCopyInto(out *Remote)

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

func (*Remote) DeepCopyObject Uses

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

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

type RemoteList Uses

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 Uses

func (in *RemoteList) DeepCopy() *RemoteList

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

func (*RemoteList) DeepCopyInto Uses

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 Uses

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

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

type RemoteSpec Uses

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 Uses

func (in *RemoteSpec) DeepCopy() *RemoteSpec

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

func (*RemoteSpec) DeepCopyInto Uses

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 Uses

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 Uses

func (in *RemoteStatus) DeepCopy() *RemoteStatus

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

func (*RemoteStatus) DeepCopyInto Uses

func (in *RemoteStatus) DeepCopyInto(out *RemoteStatus)

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

Package v1alpha1 imports 5 packages (graph) and is imported by 10 packages. Updated 2018-11-08. Refresh now. Tools for package owners.