Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
Constants ¶
const ( Group = "gateway.kyma.cx" Version = "v1alpha2" KindName = "Api" ListKindName = "ApiList" )
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
GatewayResource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Api ¶
type Api struct { k8sMeta.TypeMeta `json:",inline"` k8sMeta.ObjectMeta `json:"metadata,omitempty"` Spec ApiSpec `json:"spec"` Status ApiStatus `json:"status"` }
func (*Api) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Api.
func (*Api) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Api) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApiList ¶
type ApiList struct { k8sMeta.TypeMeta `json:",inline"` k8sMeta.ListMeta `json:"metadata,omitempty"` Items []Api `json:"items"` }
func (*ApiList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiList.
func (*ApiList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApiSpec ¶
type ApiSpec struct { Service Service `json:"service"` Hostname string `json:"hostname"` AuthenticationEnabled *bool `json:"authenticationEnabled,omitempty"` // +optional Authentication []AuthenticationRule `json:"authentication"` }
func (*ApiSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiSpec.
func (*ApiSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApiStatus ¶
type ApiStatus struct { AuthenticationStatus kymaMeta.GatewayResourceStatus `json:"authenticationStatus,omitempty"` VirtualServiceStatus kymaMeta.GatewayResourceStatus `json:"virtualServiceStatus,omitempty"` }
func (*ApiStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiStatus.
func (*ApiStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiStatus) IsInProgress ¶
func (*ApiStatus) SetInProgress ¶
func (s *ApiStatus) SetInProgress()
type AuthenticationRule ¶
type AuthenticationRule struct { Type AuthenticationType `json:"type"` Jwt JwtAuthentication `json:"jwt"` }
func (*AuthenticationRule) DeepCopy ¶
func (in *AuthenticationRule) DeepCopy() *AuthenticationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationRule.
func (*AuthenticationRule) DeepCopyInto ¶
func (in *AuthenticationRule) DeepCopyInto(out *AuthenticationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationType ¶
type AuthenticationType string
const (
JwtType AuthenticationType = "JWT"
)
type JwtAuthentication ¶
func (*JwtAuthentication) DeepCopy ¶
func (in *JwtAuthentication) DeepCopy() *JwtAuthentication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JwtAuthentication.
func (*JwtAuthentication) DeepCopyInto ¶
func (in *JwtAuthentication) DeepCopyInto(out *JwtAuthentication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.