Documentation
¶
Overview ¶
+kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertClaimsData ¶
func ConvertClaimsData(in *ClaimsData) jwt.ClaimsData
func ConvertGenericFields ¶
func ConvertGenericFields(in *GenericFields) jwt.GenericFields
Types ¶
type ClaimsData ¶
type ClaimsData struct { // Do not set manually Audience string `json:"aud,omitempty"` // Do not set manually Expires int64 `json:"exp,omitempty"` // Do not set manually ID string `json:"jti,omitempty"` // Do not set manually IssuedAt int64 `json:"iat,omitempty"` // Do not set manually Issuer string `json:"iss,omitempty"` // Do not set manually Name string `json:"name,omitempty"` // Do not set manually NotBefore int64 `json:"nbf,omitempty"` // Do not set manually Subject string `json:"sub,omitempty"` }
func (*ClaimsData) DeepCopy ¶
func (in *ClaimsData) DeepCopy() *ClaimsData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimsData.
func (*ClaimsData) DeepCopyInto ¶
func (in *ClaimsData) DeepCopyInto(out *ClaimsData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericFields ¶
type GenericFields struct { // Do not set manually // +kubebuilder:validation:Optional Tags []string `json:"tags,omitempty"` // Do not set manually // +kubebuilder:validation:Optional Type string `json:"type,omitempty"` // Do not set manually // +kubebuilder:validation:Optional Version int `json:"version,omitempty"` }
+kubebuilder:object:generate=true
func (*GenericFields) DeepCopy ¶
func (in *GenericFields) DeepCopy() *GenericFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericFields.
func (*GenericFields) DeepCopyInto ¶
func (in *GenericFields) DeepCopyInto(out *GenericFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Info ¶
type Info struct { // A human readable description Description string `json:"description,omitempty"` // This is a URL to more information InfoURL string `json:"infoURL,omitempty"` }
func (*Info) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Info.
func (*Info) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NatsLimits ¶
type NatsLimits struct { // Specifies the maximum number of subscriptions // +kubebuilder:validation:Optional Subs int64 `json:"subs,omitempty"` // Specifies the maximum number of bytes // +kubebuilder:validation:Optional Data int64 `json:"data,omitempty"` // Specifies the maximum message payload // +kubebuilder:validation:Optional Payload int64 `json:"payload,omitempty"` }
func (*NatsLimits) DeepCopy ¶
func (in *NatsLimits) DeepCopy() *NatsLimits
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatsLimits.
func (*NatsLimits) DeepCopyInto ¶
func (in *NatsLimits) DeepCopyInto(out *NatsLimits)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permission ¶
type Permission struct { // Specifies allowed subjects // +kubebuilder:validation:Optional Allow []string `json:"allow,omitempty"` // Specifies denied subjects // +kubebuilder:validation:Optional Deny []string `json:"deny,omitempty"` }
Permission Specifies allow/deny subjects
func (*Permission) DeepCopy ¶
func (in *Permission) DeepCopy() *Permission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission.
func (*Permission) DeepCopyInto ¶
func (in *Permission) DeepCopyInto(out *Permission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permissions ¶
type Permissions struct { // Specifies the publish permissions // +kubebuilder:validation:Optional Pub Permission `json:"pub,omitempty"` // Specifies the subscribe permissions // +kubebuilder:validation:Optional Sub Permission `json:"sub,omitempty"` // Specifies the response permissions // +kubebuilder:validation:Optional Resp *ResponsePermission `json:"resp,omitempty"` }
func (*Permissions) DeepCopy ¶
func (in *Permissions) DeepCopy() *Permissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
func (*Permissions) DeepCopyInto ¶
func (in *Permissions) DeepCopyInto(out *Permissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResponsePermission ¶
type ResponsePermission struct { // The maximum number of messages MaxMsgs int `json:"max"` // Specifies the time to live for the response Expires string `json:"ttl"` }
ResponsePermission Specifies the response permissions
func (*ResponsePermission) DeepCopy ¶
func (in *ResponsePermission) DeepCopy() *ResponsePermission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResponsePermission.
func (*ResponsePermission) DeepCopyInto ¶
func (in *ResponsePermission) DeepCopyInto(out *ResponsePermission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.