v1alpha1

package
v0.0.0-...-0163430 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the capturer v1alpha1 API group +kubebuilder:object:generate=true +groupName=capturer.stable.example.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "capturer.stable.example.com", 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 Author

type Author struct {
	Name string `json:"name"`

	Email string `json:"email"`
}

func (*Author) DeepCopy

func (in *Author) DeepCopy() *Author

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

func (*Author) DeepCopyInto

func (in *Author) DeepCopyInto(out *Author)

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

type Capturer

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

	Spec   CapturerSpec   `json:"spec,omitempty"`
	Status CapturerStatus `json:"status,omitempty"`
}

Capturer is the Schema for the capturers API

func (*Capturer) DeepCopy

func (in *Capturer) DeepCopy() *Capturer

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

func (*Capturer) DeepCopyInto

func (in *Capturer) DeepCopyInto(out *Capturer)

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

func (*Capturer) DeepCopyObject

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

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

type CapturerList

type CapturerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Capturer `json:"items"`
}

CapturerList contains a list of Capturer

func (*CapturerList) DeepCopy

func (in *CapturerList) DeepCopy() *CapturerList

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

func (*CapturerList) DeepCopyInto

func (in *CapturerList) DeepCopyInto(out *CapturerList)

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

func (*CapturerList) DeepCopyObject

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

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

type CapturerSpec

type CapturerSpec struct {
	NamespacedResource bool `json:"namespacedResource"`

	ResourceKind string `json:"resourceKind"`

	ResourceNamespace string `json:"resourceNamespace,omitempty"`

	ResourceName string `json:"resourceName"`

	Outputs []string `json:"outputs"`
}

CapturerSpec defines the desired state of Capturer

func (*CapturerSpec) DeepCopy

func (in *CapturerSpec) DeepCopy() *CapturerSpec

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

func (*CapturerSpec) DeepCopyInto

func (in *CapturerSpec) DeepCopyInto(out *CapturerSpec)

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

type CapturerStatus

type CapturerStatus struct {
	// A list of pointers to currently running capturing object.
	// +optional
	Capturing []corev1.ObjectReference `json:"capturing,omitempty"`
}

CapturerStatus defines the observed state of Capturer

func (*CapturerStatus) DeepCopy

func (in *CapturerStatus) DeepCopy() *CapturerStatus

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

func (*CapturerStatus) DeepCopyInto

func (in *CapturerStatus) DeepCopyInto(out *CapturerStatus)

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

type GitHubConfig

type GitHubConfig struct {
	RepositoryURL string `json:"repositoryUrl"`

	BaseBranch string `json:"baseBranch"`

	ManifestPath string `json:"manifestPath"`

	Author Author `json:"author"`
}

func (*GitHubConfig) DeepCopy

func (in *GitHubConfig) DeepCopy() *GitHubConfig

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

func (*GitHubConfig) DeepCopyInto

func (in *GitHubConfig) DeepCopyInto(out *GitHubConfig)

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

type GitHubOutput

type GitHubOutput struct {
	Config GitHubConfig `json:"config"`

	LocalFilePath string `json:"localFilePath"`
}

GitHubOutput defines the spec for integrating with GitHub

func (*GitHubOutput) DeepCopy

func (in *GitHubOutput) DeepCopy() *GitHubOutput

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

func (*GitHubOutput) DeepCopyInto

func (in *GitHubOutput) DeepCopyInto(out *GitHubOutput)

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

func (*GitHubOutput) Publish

func (o *GitHubOutput) Publish(name string, manifest []byte) (err error)

func (*GitHubOutput) Setup

func (o *GitHubOutput) Setup() error

type Output

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

	Spec   OutputSpec   `json:"spec,omitempty"`
	Status OutputStatus `json:"status,omitempty"`
}

Output is the Schema for the outputs API

func (*Output) DeepCopy

func (in *Output) DeepCopy() *Output

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

func (*Output) DeepCopyInto

func (in *Output) DeepCopyInto(out *Output)

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

func (*Output) DeepCopyObject

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

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

func (*Output) GetPublisher

func (o *Output) GetPublisher() publisher

GetPublisher returns Publisher along w/ its Spec

type OutputList

type OutputList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Output `json:"items"`
}

OutputList contains a list of Output

func (*OutputList) DeepCopy

func (in *OutputList) DeepCopy() *OutputList

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

func (*OutputList) DeepCopyInto

func (in *OutputList) DeepCopyInto(out *OutputList)

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

func (*OutputList) DeepCopyObject

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

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

type OutputSpec

type OutputSpec struct {
	GitHub *GitHubOutput `json:"github,omitempty"`
	Slack  *SlackOutput  `json:"slack,omitempty"`
}

OutputSpec defines the desired state of Output

func (*OutputSpec) DeepCopy

func (in *OutputSpec) DeepCopy() *OutputSpec

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

func (*OutputSpec) DeepCopyInto

func (in *OutputSpec) DeepCopyInto(out *OutputSpec)

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

type OutputStatus

type OutputStatus struct {
}

OutputStatus defines the observed state of Output

func (*OutputStatus) DeepCopy

func (in *OutputStatus) DeepCopy() *OutputStatus

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

func (*OutputStatus) DeepCopyInto

func (in *OutputStatus) DeepCopyInto(out *OutputStatus)

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

type SlackOutput

type SlackOutput struct {
	WebhookURL string `json:"webhookUrl"`
}

SlackOutput defines the spec for integrating with GitHub

func (*SlackOutput) DeepCopy

func (in *SlackOutput) DeepCopy() *SlackOutput

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

func (*SlackOutput) DeepCopyInto

func (in *SlackOutput) DeepCopyInto(out *SlackOutput)

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

func (*SlackOutput) Publish

func (o *SlackOutput) Publish(name string, manifest []byte) (err error)

func (*SlackOutput) Setup

func (o *SlackOutput) Setup() error

Jump to

Keyboard shortcuts

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