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 ¶
type Jwt struct { Issuer string `json:"issuer"` JwksUri string `json:"jwksUri"` TriggerRules []*TriggerRule `json:"trigger_rules,omitempty"` }
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 Peer ¶
type Peer struct {
MTLS struct{} `json:"mtls"`
}
func (*Peer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
func (*Peer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Peers ¶
type Peers []*Peer
func (Peers) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peers.
func (Peers) 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"` Peers Peers `json:"peers,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 StringMatch ¶
func (*StringMatch) DeepCopy ¶
func (in *StringMatch) DeepCopy() *StringMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringMatch.
func (*StringMatch) DeepCopyInto ¶
func (in *StringMatch) DeepCopyInto(out *StringMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StringMatch) MarshalJSON ¶
func (sm StringMatch) MarshalJSON() ([]byte, error)
func (*StringMatch) UnmarshalJSON ¶
func (sm *StringMatch) UnmarshalJSON(b []byte) error
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.
type Targets ¶
type Targets []*Target
func (Targets) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Targets.
func (Targets) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TriggerRule ¶
type TriggerRule struct { ExcludedPaths []*StringMatch `json:"excluded_paths,omitempty"` IncludedPaths []*StringMatch `json:"included_paths,omitempty"` }
func (*TriggerRule) DeepCopy ¶
func (in *TriggerRule) DeepCopy() *TriggerRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TriggerRule.
func (*TriggerRule) DeepCopyInto ¶
func (in *TriggerRule) DeepCopyInto(out *TriggerRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.