v1alpha1

package
v0.18.10 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 28

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.tilt.dev

Index

Constants

View Source
const GroupName = "core.tilt.dev"

GroupName is the group name used in this package

View Source
const Version = "v1alpha1"

Variables

View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	})

	objs := []runtime.Object{}
	for _, obj := range AllResourceObjects() {
		objs = append(objs, obj)
	}
	objs = append(objs, AllResourceLists()...)

	scheme.AddKnownTypes(schema.GroupVersion{
		Group:   GroupName,
		Version: Version,
	}, objs...)
	return nil
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AllResourceLists

func AllResourceLists() []runtime.Object

func AllResourceObjects

func AllResourceObjects() []resource.Object

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type FileWatch

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

	Spec   FileWatchSpec   `json:"spec,omitempty"`
	Status FileWatchStatus `json:"status,omitempty"`
}

FileWatch +k8s:openapi-gen=true

func (*FileWatch) DeepCopy

func (in *FileWatch) DeepCopy() *FileWatch

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

func (*FileWatch) DeepCopyInto

func (in *FileWatch) DeepCopyInto(out *FileWatch)

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

func (*FileWatch) DeepCopyObject

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

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

func (*FileWatch) GetGroupVersionResource

func (in *FileWatch) GetGroupVersionResource() schema.GroupVersionResource

func (*FileWatch) GetObjectMeta

func (in *FileWatch) GetObjectMeta() *metav1.ObjectMeta

func (*FileWatch) GetStatus

func (in *FileWatch) GetStatus() resource.StatusSubResource

func (*FileWatch) IsStorageVersion

func (in *FileWatch) IsStorageVersion() bool

func (*FileWatch) NamespaceScoped

func (in *FileWatch) NamespaceScoped() bool

func (*FileWatch) New

func (in *FileWatch) New() runtime.Object

func (*FileWatch) NewList

func (in *FileWatch) NewList() runtime.Object

func (*FileWatch) Validate

func (in *FileWatch) Validate(ctx context.Context) field.ErrorList

type FileWatchList

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

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

FileWatchList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*FileWatchList) DeepCopy

func (in *FileWatchList) DeepCopy() *FileWatchList

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

func (*FileWatchList) DeepCopyInto

func (in *FileWatchList) DeepCopyInto(out *FileWatchList)

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

func (*FileWatchList) DeepCopyObject

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

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

func (*FileWatchList) GetListMeta

func (in *FileWatchList) GetListMeta() *metav1.ListMeta

type FileWatchSpec

type FileWatchSpec struct {
}

FileWatchSpec defines the desired state of FileWatch

func (*FileWatchSpec) DeepCopy

func (in *FileWatchSpec) DeepCopy() *FileWatchSpec

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

func (*FileWatchSpec) DeepCopyInto

func (in *FileWatchSpec) DeepCopyInto(out *FileWatchSpec)

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

type FileWatchStatus

type FileWatchStatus struct {
}

FileWatchStatus defines the observed state of FileWatch

func (FileWatchStatus) CopyTo

func (*FileWatchStatus) DeepCopy

func (in *FileWatchStatus) DeepCopy() *FileWatchStatus

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

func (*FileWatchStatus) DeepCopyInto

func (in *FileWatchStatus) DeepCopyInto(out *FileWatchStatus)

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

type Manifest

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

	Spec   ManifestSpec   `json:"spec,omitempty"`
	Status ManifestStatus `json:"status,omitempty"`
}

Manifest +k8s:openapi-gen=true

func (*Manifest) DeepCopy

func (in *Manifest) DeepCopy() *Manifest

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

func (*Manifest) DeepCopyInto

func (in *Manifest) DeepCopyInto(out *Manifest)

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

func (*Manifest) DeepCopyObject

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

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

func (*Manifest) GetGroupVersionResource

func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource

func (*Manifest) GetObjectMeta

func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta

func (*Manifest) GetStatus

func (in *Manifest) GetStatus() resource.StatusSubResource

func (*Manifest) IsStorageVersion

func (in *Manifest) IsStorageVersion() bool

func (*Manifest) NamespaceScoped

func (in *Manifest) NamespaceScoped() bool

func (*Manifest) New

func (in *Manifest) New() runtime.Object

func (*Manifest) NewList

func (in *Manifest) NewList() runtime.Object

func (*Manifest) Validate

func (in *Manifest) Validate(ctx context.Context) field.ErrorList

type ManifestList

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

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

ManifestList +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ManifestList) DeepCopy

func (in *ManifestList) DeepCopy() *ManifestList

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

func (*ManifestList) DeepCopyInto

func (in *ManifestList) DeepCopyInto(out *ManifestList)

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

func (*ManifestList) DeepCopyObject

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

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

func (*ManifestList) GetListMeta

func (in *ManifestList) GetListMeta() *metav1.ListMeta

type ManifestSpec

type ManifestSpec struct {
}

ManifestSpec defines the desired state of Manifest

func (*ManifestSpec) DeepCopy

func (in *ManifestSpec) DeepCopy() *ManifestSpec

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

func (*ManifestSpec) DeepCopyInto

func (in *ManifestSpec) DeepCopyInto(out *ManifestSpec)

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

type ManifestStatus

type ManifestStatus struct {
}

ManifestStatus defines the observed state of Manifest

func (ManifestStatus) CopyTo

func (*ManifestStatus) DeepCopy

func (in *ManifestStatus) DeepCopy() *ManifestStatus

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

func (*ManifestStatus) DeepCopyInto

func (in *ManifestStatus) DeepCopyInto(out *ManifestStatus)

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

Jump to

Keyboard shortcuts

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