Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/tilt-dev/tilt-apiserver/pkg/apis/core +k8s:defaulter-gen=TypeMeta +groupName=core.tilt.dev
Index ¶
- Constants
- Variables
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type Manifest
- func (in *Manifest) DeepCopy() *Manifest
- func (in *Manifest) DeepCopyInto(out *Manifest)
- func (in *Manifest) DeepCopyObject() runtime.Object
- func (in *Manifest) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Manifest) GetObjectMeta() *metav1.ObjectMeta
- func (in *Manifest) GetStatus() resource.StatusSubResource
- func (in *Manifest) IsStorageVersion() bool
- func (in *Manifest) NamespaceScoped() bool
- func (in *Manifest) New() runtime.Object
- func (in *Manifest) NewList() runtime.Object
- func (in *Manifest) Validate(ctx context.Context) field.ErrorList
- type ManifestList
- type ManifestSpec
- type ManifestStatus
Constants ¶
const GroupName = "core.tilt.dev"
GroupName is the group name used in this package
const Version = "v1alpha1"
Variables ¶
var AddToScheme = func(scheme *runtime.Scheme) error { metav1.AddToGroupVersion(scheme, schema.GroupVersion{ Group: GroupName, Version: Version, }) scheme.AddKnownTypes(schema.GroupVersion{ Group: GroupName, Version: Version, }, &Manifest{}, &ManifestList{}) return nil }
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func RegisterDefaults ¶
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manifest.
func (*Manifest) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Manifest) DeepCopyObject ¶
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 (*Manifest) NamespaceScoped ¶
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 {
Message string `json:"message"`
}
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 {
Message string `json:"message"`
}
ManifestStatus defines the observed state of Manifest
func (ManifestStatus) CopyTo ¶
func (in ManifestStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
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.