v1

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+groupName=testing.giantswarm.io

Index

Constants

This section is empty.

Variables

View Source
var (

	// AddToScheme is used by the generated client.
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   group,
	Version: version,
}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

type Example

type Example struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              ExampleSpec `json:"spec"`
	// +optional
	Status ExampleStatus `json:"status"`
}

Example is a basic type used for integration tests. +kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Example) DeepCopy

func (in *Example) DeepCopy() *Example

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

func (*Example) DeepCopyInto

func (in *Example) DeepCopyInto(out *Example)

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

func (*Example) DeepCopyObject

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

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

type ExampleCondition

type ExampleCondition struct {
	// type is the type of the condition. Types include Normal.
	Type ExampleConditionType `json:"type"`
	// status is the status of the condition.
	// Can be True, False, Unknown.
	Status ConditionStatus `json:"status"`
	// lastTransitionTime last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// reason is a unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`
	// message is a human-readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`
}

func (*ExampleCondition) DeepCopy

func (in *ExampleCondition) DeepCopy() *ExampleCondition

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

func (*ExampleCondition) DeepCopyInto

func (in *ExampleCondition) DeepCopyInto(out *ExampleCondition)

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

type ExampleConditionType

type ExampleConditionType string

ExampleConditionType is a valid value for ExampleCondition.Type

const (
	Normal ExampleConditionType = "Normal"
)

type ExampleList

type ExampleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Example `json:"items"`
}

+kubebuilder:object:root=true

func (*ExampleList) DeepCopy

func (in *ExampleList) DeepCopy() *ExampleList

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

func (*ExampleList) DeepCopyInto

func (in *ExampleList) DeepCopyInto(out *ExampleList)

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

func (*ExampleList) DeepCopyObject

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

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

type ExampleSpec

type ExampleSpec struct {
	Field1 string `json:"field1"`
}

func (*ExampleSpec) DeepCopy

func (in *ExampleSpec) DeepCopy() *ExampleSpec

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

func (*ExampleSpec) DeepCopyInto

func (in *ExampleSpec) DeepCopyInto(out *ExampleSpec)

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

type ExampleStatus

type ExampleStatus struct {
	Conditions []ExampleCondition `json:"conditions"`
}

func (*ExampleStatus) DeepCopy

func (in *ExampleStatus) DeepCopy() *ExampleStatus

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

func (*ExampleStatus) DeepCopyInto

func (in *ExampleStatus) DeepCopyInto(out *ExampleStatus)

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