Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
Constants ¶
const ( Group = "authentication.istio.io" Version = "v1alpha1" )
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 Jwt ¶
func (*Jwt) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Jwt.
func (*Jwt) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Origin ¶
type Origin struct {
Jwt *Jwt `json:"jwt"`
}
func (*Origin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Origin.
func (*Origin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Origins ¶
type Origins []*Origin
func (Origins) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Origins.
func (Origins) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Policy ¶
type Policy struct { k8sMeta.TypeMeta `json:",inline"` k8sMeta.ObjectMeta `json:"metadata,omitempty"` Spec *PolicySpec `json:"spec"` }
Policy describes Istio policy
func (*Policy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Policy.
func (*Policy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Policy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicyList ¶
type PolicyList struct { k8sMeta.TypeMeta `json:",inline"` k8sMeta.ListMeta `json:"metadata,omitempty"` Items []Policy `json:"items"` }
PolicyList is a list of Rule resources
func (*PolicyList) DeepCopy ¶
func (in *PolicyList) DeepCopy() *PolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyList.
func (*PolicyList) DeepCopyInto ¶
func (in *PolicyList) DeepCopyInto(out *PolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicyList) DeepCopyObject ¶
func (in *PolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PolicySpec ¶
type PolicySpec struct { Targets Targets `json:"targets"` PrincipalBinding PrincipalBinding `json:"principalBinding"` Origins Origins `json:"origins,omitempty"` }
PolicySpec is the spec for Policy resource
func (*PolicySpec) DeepCopy ¶
func (in *PolicySpec) DeepCopy() *PolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicySpec.
func (*PolicySpec) DeepCopyInto ¶
func (in *PolicySpec) DeepCopyInto(out *PolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PolicySpec) String ¶
func (p *PolicySpec) String() string
type PrincipalBinding ¶
type PrincipalBinding string
const (
UseOrigin PrincipalBinding = "USE_ORIGIN"
)
type Target ¶
type Target struct {
Name string `json:"name"`
}
func (*Target) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target.
func (*Target) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.