Documentation
¶
Overview ¶
Package has auto-generated kube type wrappers for raw types. +k8s:openapi-gen=true +k8s:deepcopy-gen=package +groupName=redis.aeraki.io
Index ¶
Constants ¶
const (
// Package-wide consts from generator "register".
GroupName = "redis.aeraki.io"
)
Variables ¶
var ( // Package-wide variables from generator "register". SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type RedisDestination ¶
type RedisDestination struct { v1.TypeMeta `json:",inline"` // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the implementation of this definition. // +optional Spec redisv1alpha1.RedisDestination `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status metav1alpha1.IstioStatus `json:"status"` }
RedisDestination defines policies that apply to redis traffic intended for a redis service
<!-- crd generation tags +cue-gen:RedisDestination:groupName:redis.aeraki.io +cue-gen:RedisDestination:version:v1alpha1 +cue-gen:RedisDestination:storageVersion +cue-gen:RedisDestination:subresource:status +cue-gen:RedisDestination:scope:Namespaced +cue-gen:RedisDestination:resource:categories=redis-aeraki-io,shortNames=rd +cue-gen:RedisDestination:printerColumn:name=Host,type=string,JSONPath=.spec.host,description="The name of a service from the service registry" +cue-gen:RedisDestination:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" +cue-gen:RedisDestination:preserveUnknownFields:false -->
<!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=redis.aeraki.io/v1alpha1 +genclient +k8s:deepcopy-gen=true -->
func (*RedisDestination) DeepCopy ¶
func (in *RedisDestination) DeepCopy() *RedisDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDestination.
func (*RedisDestination) DeepCopyInto ¶
func (in *RedisDestination) DeepCopyInto(out *RedisDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisDestination) DeepCopyObject ¶
func (in *RedisDestination) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisDestinationList ¶
type RedisDestinationList struct { v1.TypeMeta `json:",inline"` // +optional v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []*RedisDestination `json:"items" protobuf:"bytes,2,rep,name=items"` }
RedisDestinationList is a collection of RedisDestinations.
func (*RedisDestinationList) DeepCopy ¶
func (in *RedisDestinationList) DeepCopy() *RedisDestinationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisDestinationList.
func (*RedisDestinationList) DeepCopyInto ¶
func (in *RedisDestinationList) DeepCopyInto(out *RedisDestinationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisDestinationList) DeepCopyObject ¶
func (in *RedisDestinationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisService ¶
type RedisService struct { v1.TypeMeta `json:",inline"` // +optional v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec defines the implementation of this definition. // +optional Spec redisv1alpha1.RedisService `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status metav1alpha1.IstioStatus `json:"status"` }
RedisService provide a way to config redis service in service mesh.
<!-- crd generation tags +cue-gen:RedisService:groupName:redis.aeraki.io +cue-gen:RedisService:version:v1alpha1 +cue-gen:RedisService:storageVersion +cue-gen:RedisService:subresource:status +cue-gen:RedisService:scope:Namespaced +cue-gen:RedisService:resource:categories=redis-aeraki-io,shortNames=rsvc +cue-gen:RedisService:printerColumn:name=Hosts,type=string,JSONPath=.spec.hosts,description="The destination hosts to which traffic is being sent" +cue-gen:RedisService:printerColumn:name=Age,type=date,JSONPath=.metadata.creationTimestamp,description="CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" +cue-gen:RedisService:preserveUnknownFields:true -->
<!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=redis.aeraki.io/v1alpha1 +genclient +k8s:deepcopy-gen=true -->
func (*RedisService) DeepCopy ¶
func (in *RedisService) DeepCopy() *RedisService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisService.
func (*RedisService) DeepCopyInto ¶
func (in *RedisService) DeepCopyInto(out *RedisService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisService) DeepCopyObject ¶
func (in *RedisService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisServiceList ¶
type RedisServiceList struct { v1.TypeMeta `json:",inline"` // +optional v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []*RedisService `json:"items" protobuf:"bytes,2,rep,name=items"` }
RedisServiceList is a collection of RedisServices.
func (*RedisServiceList) DeepCopy ¶
func (in *RedisServiceList) DeepCopy() *RedisServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisServiceList.
func (*RedisServiceList) DeepCopyInto ¶
func (in *RedisServiceList) DeepCopyInto(out *RedisServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisServiceList) DeepCopyObject ¶
func (in *RedisServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.