v1

package
v0.1.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io

+k8s:deepcopy-gen=package +groupName=git.rio.cattle.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: git.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type GitModule

type GitModule struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GitModuleSpec   `json:"spec,omitempty"`
	Status GitModuleStatus `json:"status,omitempty"`
}

func NewGitModule

func NewGitModule(namespace, name string, obj GitModule) *GitModule

func (*GitModule) DeepCopy

func (in *GitModule) DeepCopy() *GitModule

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

func (*GitModule) DeepCopyInto

func (in *GitModule) DeepCopyInto(out *GitModule)

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

func (*GitModule) DeepCopyObject

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

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

type GitModuleList

type GitModuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []GitModule `json:"items"`
}

GitModuleList is a list of GitModule resources

func (*GitModuleList) DeepCopy

func (in *GitModuleList) DeepCopy() *GitModuleList

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

func (*GitModuleList) DeepCopyInto

func (in *GitModuleList) DeepCopyInto(out *GitModuleList)

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

func (*GitModuleList) DeepCopyObject

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

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

type GitModuleSpec

type GitModuleSpec struct {
	ServiceName      string `json:"serviceName,omitempty"`
	ServiceNamespace string `json:"serviceNamespace,omitempty"`
	Repo             string `json:"repo,omitempty"`
	Secret           string `json:"secret,omitempty"`
	Branch           string `json:"branch,omitempty"`
}

func (*GitModuleSpec) DeepCopy

func (in *GitModuleSpec) DeepCopy() *GitModuleSpec

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

func (*GitModuleSpec) DeepCopyInto

func (in *GitModuleSpec) DeepCopyInto(out *GitModuleSpec)

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

type GitModuleStatus

type GitModuleStatus struct {
	LastRevision string `json:"lastRevision,omitempty"`
}

func (*GitModuleStatus) DeepCopy

func (in *GitModuleStatus) DeepCopy() *GitModuleStatus

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

func (*GitModuleStatus) DeepCopyInto

func (in *GitModuleStatus) DeepCopyInto(out *GitModuleStatus)

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

Source Files

  • doc.go
  • gitmodule.go
  • zz_generated_deepcopy.go
  • zz_generated_list_types.go
  • zz_generated_register.go

Jump to

Keyboard shortcuts

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