v1

package
v0.0.0-...-f496b69 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=admiral.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)

create a SchemeBuilder which uses functions to add types to the scheme

View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   admiral.GroupName,
	Version: "v1alpha1",
}

GroupVersion is the identifier for the API which includes the name of the group and the version of the API

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type Dependency

type Dependency struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               model.Dependency `json:"spec"`
	Status             DependencyStatus `json:"status"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object generic cdr object to wrap the dependency api

func (*Dependency) DeepCopy

func (in *Dependency) DeepCopy() *Dependency

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

func (*Dependency) DeepCopyInto

func (in *Dependency) DeepCopyInto(out *Dependency)

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

func (*Dependency) DeepCopyObject

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

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

type DependencyList

type DependencyList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

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

FooList is a list of Foo resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DependencyList) DeepCopy

func (in *DependencyList) DeepCopy() *DependencyList

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

func (*DependencyList) DeepCopyInto

func (in *DependencyList) DeepCopyInto(out *DependencyList)

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

func (*DependencyList) DeepCopyObject

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

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

type DependencyProxy

type DependencyProxy struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               model.DependencyProxy `json:"spec"`
	Status             DependencyProxyStatus `json:"status"`
}

+genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +k8s:openapi-gen=true +kubebuilder:printcolumn:name="Destination",type="string",JSONPath=`.spec.destination.identity` +kubebuilder:printcolumn:name="Proxy",type="string",JSONPath=`.spec.proxy.identity` +kubebuilder:resource:shortName=dp

func (*DependencyProxy) DeepCopy

func (in *DependencyProxy) DeepCopy() *DependencyProxy

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

func (*DependencyProxy) DeepCopyInto

func (in *DependencyProxy) DeepCopyInto(out *DependencyProxy)

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

func (*DependencyProxy) DeepCopyObject

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

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

type DependencyProxyList

type DependencyProxyList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

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

DependencyProxyList is a list of DependencyProxy resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*DependencyProxyList) DeepCopy

func (in *DependencyProxyList) DeepCopy() *DependencyProxyList

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

func (*DependencyProxyList) DeepCopyInto

func (in *DependencyProxyList) DeepCopyInto(out *DependencyProxyList)

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

func (*DependencyProxyList) DeepCopyObject

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

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

type DependencyProxyStatus

type DependencyProxyStatus struct {
	State string `json:"state"`
}

DependencyProxyStatus is the status for a DependencyProxy resource

func (*DependencyProxyStatus) DeepCopy

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

func (*DependencyProxyStatus) DeepCopyInto

func (in *DependencyProxyStatus) DeepCopyInto(out *DependencyProxyStatus)

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

type DependencyStatus

type DependencyStatus struct {
	ClusterSynced int32  `json:"clustersSynced"`
	State         string `json:"state"`
}

FooStatus is the status for a Foo resource

func (*DependencyStatus) DeepCopy

func (in *DependencyStatus) DeepCopy() *DependencyStatus

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

func (*DependencyStatus) DeepCopyInto

func (in *DependencyStatus) DeepCopyInto(out *DependencyStatus)

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

type GlobalTrafficPolicy

type GlobalTrafficPolicy struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               model.GlobalTrafficPolicy `json:"spec"`
	Status             GlobalTrafficPolicyStatus `json:"status"`
}

generic cdr object to wrap the GlobalTrafficPolicy api +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GlobalTrafficPolicy) DeepCopy

func (in *GlobalTrafficPolicy) DeepCopy() *GlobalTrafficPolicy

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

func (*GlobalTrafficPolicy) DeepCopyInto

func (in *GlobalTrafficPolicy) DeepCopyInto(out *GlobalTrafficPolicy)

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

func (*GlobalTrafficPolicy) DeepCopyObject

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

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

type GlobalTrafficPolicyList

type GlobalTrafficPolicyList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

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

FooList is a list of Foo resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GlobalTrafficPolicyList) DeepCopy

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

func (*GlobalTrafficPolicyList) DeepCopyInto

func (in *GlobalTrafficPolicyList) DeepCopyInto(out *GlobalTrafficPolicyList)

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

func (*GlobalTrafficPolicyList) DeepCopyObject

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

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

type GlobalTrafficPolicyStatus

type GlobalTrafficPolicyStatus struct {
	ClusterSynced int32  `json:"clustersSynced"`
	State         string `json:"state"`
}

func (*GlobalTrafficPolicyStatus) DeepCopy

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

func (*GlobalTrafficPolicyStatus) DeepCopyInto

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

type RoutingPolicy

type RoutingPolicy struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata"`
	Spec               model.RoutingPolicy `json:"spec"`
	Status             RoutingPolicyStatus `json:"status"`
}

generic cdr object to wrap the GlobalTrafficPolicy api +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RoutingPolicy) DeepCopy

func (in *RoutingPolicy) DeepCopy() *RoutingPolicy

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

func (*RoutingPolicy) DeepCopyInto

func (in *RoutingPolicy) DeepCopyInto(out *RoutingPolicy)

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

func (*RoutingPolicy) DeepCopyObject

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

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

type RoutingPolicyList

type RoutingPolicyList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

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

FooList is a list of Foo resources +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RoutingPolicyList) DeepCopy

func (in *RoutingPolicyList) DeepCopy() *RoutingPolicyList

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

func (*RoutingPolicyList) DeepCopyInto

func (in *RoutingPolicyList) DeepCopyInto(out *RoutingPolicyList)

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

func (*RoutingPolicyList) DeepCopyObject

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

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

type RoutingPolicyStatus

type RoutingPolicyStatus struct {
	ClusterSynced int32  `json:"clustersSynced"`
	State         string `json:"state"`
}

func (*RoutingPolicyStatus) DeepCopy

func (in *RoutingPolicyStatus) DeepCopy() *RoutingPolicyStatus

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

func (*RoutingPolicyStatus) DeepCopyInto

func (in *RoutingPolicyStatus) DeepCopyInto(out *RoutingPolicyStatus)

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