Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Api
- type ApiList
- type ApiSpec
- type ApiStatus
- func (in *ApiStatus) DeepCopy() *ApiStatus
- func (in *ApiStatus) DeepCopyInto(out *ApiStatus)
- func (s *ApiStatus) IsEmpty() bool
- func (s *ApiStatus) IsError() bool
- func (s *ApiStatus) IsHostnameOccupied() bool
- func (s *ApiStatus) IsInProgress() bool
- func (s *ApiStatus) IsSuccessful() bool
- func (s *ApiStatus) IsTargetServiceOccupied() bool
- func (s *ApiStatus) SetInProgress()
- type AuthenticationRule
- type AuthenticationType
- type JwtAuthentication
- type Service
Constants ¶
const ( Group = "gateway.kyma-project.io" 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 { ValidationStatus kymaMeta.StatusCode `json:"validationStatus,omitempty"` 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) IsHostnameOccupied ¶
func (*ApiStatus) IsInProgress ¶
func (*ApiStatus) IsSuccessful ¶
func (*ApiStatus) IsTargetServiceOccupied ¶
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.