v1alpha1

package
v0.0.0-...-c665ddf Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "web.phillebaba.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 RemoteContent

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

	Spec   RemoteContentSpec   `json:"spec,omitempty"`
	Status RemoteContentStatus `json:"status,omitempty"`
}

RemoteContent is the Schema for the remotecontents API

func (*RemoteContent) DeepCopy

func (in *RemoteContent) DeepCopy() *RemoteContent

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

func (*RemoteContent) DeepCopyInto

func (in *RemoteContent) DeepCopyInto(out *RemoteContent)

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

func (*RemoteContent) DeepCopyObject

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

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

type RemoteContentList

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

RemoteContentList contains a list of RemoteContent

func (*RemoteContentList) DeepCopy

func (in *RemoteContentList) DeepCopy() *RemoteContentList

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

func (*RemoteContentList) DeepCopyInto

func (in *RemoteContentList) DeepCopyInto(out *RemoteContentList)

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

func (*RemoteContentList) DeepCopyObject

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

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

type RemoteContentSpec

type RemoteContentSpec struct {
	// Url to fetch content from.
	Url string `json:"url"`
}

RemoteContentSpec defines the desired state of RemoteContent

func (*RemoteContentSpec) DeepCopy

func (in *RemoteContentSpec) DeepCopy() *RemoteContentSpec

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

func (*RemoteContentSpec) DeepCopyInto

func (in *RemoteContentSpec) DeepCopyInto(out *RemoteContentSpec)

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

type RemoteContentStatus

type RemoteContentStatus struct {
	State RequestState `json:"state"`
}

RemoteContentStatus defines the observed state of RemoteContent

func (*RemoteContentStatus) DeepCopy

func (in *RemoteContentStatus) DeepCopy() *RemoteContentStatus

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

func (*RemoteContentStatus) DeepCopyInto

func (in *RemoteContentStatus) DeepCopyInto(out *RemoteContentStatus)

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

type RequestState

type RequestState string

Indicates the status of the request

var (
	Pending  RequestState = "Pending"
	Failed   RequestState = "Failed"
	Succeded RequestState = "Succeeded"
)

Jump to

Keyboard shortcuts

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