v1alpha1

package
v0.0.0-...-8a5afcf Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the flipper.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=flipper.io.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "flipper.io.github.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Flipper

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

	Spec   FlipperSpec   `json:"spec,omitempty"`
	Status FlipperStatus `json:"status,omitempty"`
}

Flipper is the Schema for the flippers API

func (*Flipper) DeepCopy

func (in *Flipper) DeepCopy() *Flipper

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

func (*Flipper) DeepCopyInto

func (in *Flipper) DeepCopyInto(out *Flipper)

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

func (*Flipper) DeepCopyObject

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

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

type FlipperList

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

FlipperList contains a list of Flipper

func (*FlipperList) DeepCopy

func (in *FlipperList) DeepCopy() *FlipperList

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

func (*FlipperList) DeepCopyInto

func (in *FlipperList) DeepCopyInto(out *FlipperList)

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

func (*FlipperList) DeepCopyObject

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

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

type FlipperSpec

type FlipperSpec struct {

	// +kubebuilder:validation:Format=duration
	Interval metav1.Duration `json:"interval,omitempty"`
	Match    MatchSpec       `json:"match,omitempty"`
}

FlipperSpec defines the desired state of Flipper

func (*FlipperSpec) DeepCopy

func (in *FlipperSpec) DeepCopy() *FlipperSpec

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

func (*FlipperSpec) DeepCopyInto

func (in *FlipperSpec) DeepCopyInto(out *FlipperSpec)

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

type FlipperStatus

type FlipperStatus struct {
}

FlipperStatus defines the observed state of Flipper

func (*FlipperStatus) DeepCopy

func (in *FlipperStatus) DeepCopy() *FlipperStatus

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

func (*FlipperStatus) DeepCopyInto

func (in *FlipperStatus) DeepCopyInto(out *FlipperStatus)

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

type MatchSpec

type MatchSpec struct {
	Labels     map[string]string `json:"labels,omitempty"`
	Namespaces []string          `json:"namespaces,omitempty"`
}

MatchSpec defines specification of the deployment to be matched

func (*MatchSpec) DeepCopy

func (in *MatchSpec) DeepCopy() *MatchSpec

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

func (*MatchSpec) DeepCopyInto

func (in *MatchSpec) DeepCopyInto(out *MatchSpec)

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