Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the istio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=maistra.io
Package v1alpha1 contains API Schema definitions for the istio v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=maistra.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "maistra.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme ise used to add go types to the scheme AddToScheme = SchemeBuilder.AddToScheme )
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.
Types ¶
type LabeledRefResource ¶ added in v0.0.2
type LabeledRefResource struct { RefResource `json:",inline"` Labels map[string]string `json:"labels"` }
LabeledRefResource is a RefResource with Labels
func (*LabeledRefResource) DeepCopy ¶ added in v0.0.2
func (in *LabeledRefResource) DeepCopy() *LabeledRefResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LabeledRefResource.
func (*LabeledRefResource) DeepCopyInto ¶ added in v0.0.2
func (in *LabeledRefResource) DeepCopyInto(out *LabeledRefResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ref ¶ added in v0.0.2
type Ref struct { Name string `json:"name,omitempty"` Strategy string `json:"strategy,omitempty"` Args map[string]string `json:"args,omitempty"` }
Ref defines the desired state for a single reference within the Session
func (*Ref) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ref.
func (*Ref) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RefResource ¶
type RefResource struct { Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Action *string `json:"action,omitempty"` }
RefResource defines the observed resources mutated/created as part of the Ref
func (*RefResource) DeepCopy ¶
func (in *RefResource) DeepCopy() *RefResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefResource.
func (*RefResource) DeepCopyInto ¶
func (in *RefResource) DeepCopyInto(out *RefResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RefStatus ¶
type RefStatus struct { Ref `json:",inline"` Targets []*LabeledRefResource `json:"targets,omitempty"` Resources []*RefResource `json:"resources,omitempty"` }
RefStatus defines the observed state of the individual Ref
func (*RefStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefStatus.
func (*RefStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct { Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
Route defines the strategy for how the traffic is routed to the Ref
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Session ¶
type Session struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SessionSpec `json:"spec,omitempty"` Status SessionStatus `json:"status,omitempty"` }
Session is the Schema for the sessions API
func (*Session) AddFinalizer ¶
AddFinalizer adds a finalizer to the session
func (*Session) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.
func (*Session) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Session) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Session) HasFinalizer ¶
HasFinalizer checks if session has a finalizer attached to it
func (*Session) RemoveFinalizer ¶
RemoveFinalizer removes given finalizer
type SessionList ¶
type SessionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Session `json:"items"` }
SessionList contains a list of Session
func (*SessionList) DeepCopy ¶
func (in *SessionList) DeepCopy() *SessionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionList.
func (*SessionList) DeepCopyInto ¶
func (in *SessionList) DeepCopyInto(out *SessionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SessionList) DeepCopyObject ¶
func (in *SessionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SessionSpec ¶
SessionSpec defines the desired state of Session
func (*SessionSpec) DeepCopy ¶
func (in *SessionSpec) DeepCopy() *SessionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpec.
func (*SessionSpec) DeepCopyInto ¶
func (in *SessionSpec) DeepCopyInto(out *SessionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SessionStatus ¶
type SessionStatus struct { State *string `json:"state,omitempty"` Refs []*RefStatus `json:"refs,omitempty"` }
SessionStatus defines the observed state of Session
func (*SessionStatus) DeepCopy ¶
func (in *SessionStatus) DeepCopy() *SessionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionStatus.
func (*SessionStatus) DeepCopyInto ¶
func (in *SessionStatus) DeepCopyInto(out *SessionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.