Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type DenierHandlerParams
- type DenierStatus
- type Handler
- type HandlerList
- type HandlerSpec
- type Instance
- type InstanceList
- type InstanceSpec
- type Rule
- type RuleAction
- type RuleList
- type RuleSpec
Constants ¶
const ( Group = "config.istio.io" Version = "v1alpha2" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{ Group: Group, Version: Version, } SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type DenierHandlerParams ¶
type DenierHandlerParams struct {
Status *DenierStatus `json:"status"`
}
DenierHandlerParams defines handler params for "denier" adapter
func (*DenierHandlerParams) DeepCopy ¶
func (in *DenierHandlerParams) DeepCopy() *DenierHandlerParams
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenierHandlerParams.
func (*DenierHandlerParams) DeepCopyInto ¶
func (in *DenierHandlerParams) DeepCopyInto(out *DenierHandlerParams)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DenierStatus ¶
DenierStatus defines status for Denier
func (*DenierStatus) DeepCopy ¶
func (in *DenierStatus) DeepCopy() *DenierStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DenierStatus.
func (*DenierStatus) DeepCopyInto ¶
func (in *DenierStatus) DeepCopyInto(out *DenierStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Handler ¶
type Handler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *HandlerSpec `json:"spec"` }
Handler defines Istio Handler CR with Params for "denier" adapter
func (*Handler) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Handler.
func (*Handler) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Handler) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HandlerList ¶
type HandlerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Handler `json:"items"` }
HandlerList is a list of Handlers
func (*HandlerList) DeepCopy ¶
func (in *HandlerList) DeepCopy() *HandlerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HandlerList.
func (*HandlerList) DeepCopyInto ¶
func (in *HandlerList) DeepCopyInto(out *HandlerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HandlerList) DeepCopyObject ¶
func (in *HandlerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HandlerSpec ¶
type HandlerSpec struct { CompiledAdapter string `json:"compiledAdapter"` // Params have a different form for different adapters Params *DenierHandlerParams `json:"params"` }
HandlerSpec defines specification for Handler
func (*HandlerSpec) DeepCopy ¶
func (in *HandlerSpec) DeepCopy() *HandlerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HandlerSpec.
func (*HandlerSpec) DeepCopyInto ¶
func (in *HandlerSpec) DeepCopyInto(out *HandlerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *InstanceSpec `json:"spec"` }
Instance defines Istio Instance CR
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Instance `json:"items"` }
InstanceList is a list of Handlers
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstanceSpec ¶
type InstanceSpec struct {
CompiledTemplate string `json:"compiledTemplate"`
}
InstanceSpec defines specification for Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rule ¶
type Rule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *RuleSpec `json:"spec"` }
Rule defines Istio Rule
func (*Rule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rule.
func (*Rule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Rule) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleAction ¶
RuleAction defines action for Rule
func (*RuleAction) DeepCopy ¶
func (in *RuleAction) DeepCopy() *RuleAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleAction.
func (*RuleAction) DeepCopyInto ¶
func (in *RuleAction) DeepCopyInto(out *RuleAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleList ¶
type RuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Rule `json:"items"` }
RuleList is a list of Rules
func (*RuleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleList.
func (*RuleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleSpec ¶
type RuleSpec struct { Match string `json:"match"` Actions []RuleAction `json:"actions"` }
RuleSpec defines specification for Rule
func (*RuleSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSpec.
func (*RuleSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.