v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the istio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=istio.io

Package v1alpha1 contains API Schema definitions for the istio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=istio.io

Index

Constants

This section is empty.

Variables

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

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

Functions

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.

Types

type Condition

type Condition struct {
	Type               ConditionType   `json:"type,omitempty"`
	Status             ConditionStatus `json:"status,omitempty"`
	Reason             ConditionReason `json:"reason,omitempty"`
	Message            string          `json:"message,omitempty"`
	LastTransitionTime metav1.Time     `json:"lastTransitionTime,omitempty"`
}

Condition represents a specific condition on a resource

type ConditionReason

type ConditionReason string

ConditionReason represents a short message indicating how the condition came to be in its present state.

const (
	// ConditionReasonInstallSuccessful ...
	ConditionReasonInstallSuccessful ConditionReason = "InstallSuccessful"
	// ConditionReasonInstallError ...
	ConditionReasonInstallError ConditionReason = "InstallError"
	// ConditionReasonReconcileSuccessful ...
	ConditionReasonReconcileSuccessful ConditionReason = "ReconcileSuccessful"
	// ConditionReasonReconcileError ...
	ConditionReasonReconcileError ConditionReason = "ReconcileError"
)

type ConditionStatus

type ConditionStatus string

ConditionStatus represents the status of the condition

const (
	// ConditionStatusTrue represents completion of the condition, e.g.
	// Initialized=True signifies that initialization has occurred.
	ConditionStatusTrue ConditionStatus = "True"
	// ConditionStatusFalse represents incomplete status of the condition, e.g.
	// Initialized=False signifies that initialization has not occurred or has
	// failed.
	ConditionStatusFalse ConditionStatus = "False"
	// ConditionStatusUnknown represents unknown completion of the condition, e.g.
	// Initialized=Unknown signifies that initialization may or may not have been
	// completed.
	ConditionStatusUnknown ConditionStatus = "Unknown"
)

type ConditionType

type ConditionType string

ConditionType represents the type of the condition. Condition stages are: Initialized, Installed, Reconciled

const (
	// ConditionTypeInitialized signifies the whether or not the controller has
	// initialized the CR.
	ConditionTypeInitialized ConditionType = "Initialized"
	// ConditionTypeInstalled signifies the whether or not the controller has
	// installed the resources defined through the CR.
	ConditionTypeInstalled ConditionType = "Installed"
	// ConditionTypeReconciled signifies the whether or not the controller has
	// reconciled the resources defined through the CR.
	ConditionTypeReconciled ConditionType = "Reconciled"
)

type HelmValuesType

type HelmValuesType map[string]interface{}

HelmValuesType is typedef for Helm .Values

type IstioControlPlane

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

	Spec   IstioControlPlaneSpec   `json:"spec,omitempty"`
	Status IstioControlPlaneStatus `json:"status,omitempty"`
}

IstioControlPlane is the Schema for the istiocontrolplanes API +k8s:openapi-gen=true

func (*IstioControlPlane) DeepCopy

func (in *IstioControlPlane) DeepCopy() *IstioControlPlane

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

func (*IstioControlPlane) DeepCopyInto

func (in *IstioControlPlane) DeepCopyInto(out *IstioControlPlane)

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

func (*IstioControlPlane) DeepCopyObject

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

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

type IstioControlPlaneList

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

IstioControlPlaneList contains a list of IstioControlPlane

func (*IstioControlPlaneList) DeepCopy

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

func (*IstioControlPlaneList) DeepCopyInto

func (in *IstioControlPlaneList) DeepCopyInto(out *IstioControlPlaneList)

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

func (*IstioControlPlaneList) DeepCopyObject

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

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

type IstioControlPlaneSpec

type IstioControlPlaneSpec struct {

	// ChartPath represents the relative or absolute path to the charts defining the control plane.
	// Relative paths will be evaluated with the --base-chart-path argument.
	// Empty paths will use the --default-chart-path argument.
	ChartPath string `json:"chartPath,omitempty"`

	// RawValues represents "raw" values.yaml data.
	RawValues HelmValuesType `json:"rawValues,omitempty"`
}

IstioControlPlaneSpec defines the desired state of IstioControlPlane +k8s:openapi-gen=true

func (*IstioControlPlaneSpec) DeepCopy

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

func (*IstioControlPlaneSpec) DeepCopyInto

func (in *IstioControlPlaneSpec) DeepCopyInto(out *IstioControlPlaneSpec)

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

type IstioControlPlaneStatus

type IstioControlPlaneStatus struct {

	// ObservedGeneration represents the last generation processed by the controller.  This is used to short-circuit reconcilations.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// Conditions represent the condition of the control plane
	Conditions []Condition `json:"conditions,omitempty"`
}

IstioControlPlaneStatus defines the observed state of IstioControlPlane +k8s:openapi-gen=true

func (*IstioControlPlaneStatus) DeepCopy

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

func (*IstioControlPlaneStatus) DeepCopyInto

func (in *IstioControlPlaneStatus) DeepCopyInto(out *IstioControlPlaneStatus)

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

func (*IstioControlPlaneStatus) GetCondition

func (s *IstioControlPlaneStatus) GetCondition(conditionType ConditionType) Condition

GetCondition returns a condition for the list of conditions

func (*IstioControlPlaneStatus) RemoveCondition

func (s *IstioControlPlaneStatus) RemoveCondition(conditionType ConditionType) *IstioControlPlaneStatus

RemoveCondition removes a condition for the list of conditions

func (*IstioControlPlaneStatus) SetCondition

func (s *IstioControlPlaneStatus) SetCondition(condition Condition) *IstioControlPlaneStatus

SetCondition sets a specific condition in the list of conditions

Jump to

Keyboard shortcuts

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