Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dapr.io
Index ¶
- Constants
- Variables
- func GroupKindFromKind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Auth
- type HTTPEndpoint
- func (HTTPEndpoint) APIVersion() string
- func (h HTTPEndpoint) ClientObject() client.Object
- func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint
- func (in *HTTPEndpoint) DeepCopyInto(out *HTTPEndpoint)
- func (in *HTTPEndpoint) DeepCopyObject() runtime.Object
- func (h HTTPEndpoint) EmptyMetaDeepCopy() metav1.Object
- func (h HTTPEndpoint) GetName() string
- func (h HTTPEndpoint) GetNamespace() string
- func (h HTTPEndpoint) GetScopes() []string
- func (h HTTPEndpoint) GetSecretStore() string
- func (h HTTPEndpoint) HasTLSClientCert() bool
- func (h HTTPEndpoint) HasTLSClientCertSecret() bool
- func (h HTTPEndpoint) HasTLSPrivateKey() bool
- func (h HTTPEndpoint) HasTLSPrivateKeySecret() bool
- func (h HTTPEndpoint) HasTLSRootCA() bool
- func (h HTTPEndpoint) HasTLSRootCASecret() bool
- func (HTTPEndpoint) Kind() string
- func (h HTTPEndpoint) LogName() string
- func (h HTTPEndpoint) NameValuePairs() []common.NameValuePair
- type HTTPEndpointList
- type HTTPEndpointSpec
Constants ¶
const ( Kind = "HTTPEndpoint" Version = "v1alpha1" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: httpendpoint.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func GroupKindFromKind ¶ added in v1.13.0
GroupKindFromKind takes an unqualified kind and returns back a Group qualified GroupKind.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource.
Types ¶
type Auth ¶
type Auth struct {
SecretStore string `json:"secretStore"`
}
Auth represents authentication details for the component.
func (*Auth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPEndpoint ¶
type HTTPEndpoint struct { metav1.TypeMeta `json:",inline"` //+optional metav1.ObjectMeta `json:"metadata,omitempty"` //+optional Spec HTTPEndpointSpec `json:"spec,omitempty"` //+optional Auth `json:"auth,omitempty"` common.Scoped `json:",inline"` }
HTTPEndpoint describes a Dapr HTTPEndpoint type for external service invocation. This endpoint can be external to Dapr, or external to the environment.
func (HTTPEndpoint) APIVersion ¶ added in v1.14.0
func (HTTPEndpoint) APIVersion() string
func (HTTPEndpoint) ClientObject ¶ added in v1.14.0
func (h HTTPEndpoint) ClientObject() client.Object
func (*HTTPEndpoint) DeepCopy ¶
func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPEndpoint.
func (*HTTPEndpoint) DeepCopyInto ¶
func (in *HTTPEndpoint) DeepCopyInto(out *HTTPEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPEndpoint) DeepCopyObject ¶
func (in *HTTPEndpoint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (HTTPEndpoint) EmptyMetaDeepCopy ¶ added in v1.13.0
func (h HTTPEndpoint) EmptyMetaDeepCopy() metav1.Object
EmptyMetaDeepCopy returns a new instance of the component type with the TypeMeta's Kind and APIVersion fields set.
func (HTTPEndpoint) GetName ¶ added in v1.13.0
func (h HTTPEndpoint) GetName() string
GetName returns the component name.
func (HTTPEndpoint) GetNamespace ¶ added in v1.13.0
func (h HTTPEndpoint) GetNamespace() string
GetNamespace returns the component namespace.
func (HTTPEndpoint) GetScopes ¶ added in v1.14.0
func (h HTTPEndpoint) GetScopes() []string
func (HTTPEndpoint) GetSecretStore ¶ added in v1.12.0
func (h HTTPEndpoint) GetSecretStore() string
GetSecretStore returns the name of the secret store.
func (HTTPEndpoint) HasTLSClientCert ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSClientCert() bool
HasTLSClientCert returns a bool indicating if the HTTP endpoint contains a tls client cert
func (HTTPEndpoint) HasTLSClientCertSecret ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSClientCertSecret() bool
HasTLSClientCertSecret returns a bool indicating if a tls client cert has a secret reference
func (HTTPEndpoint) HasTLSPrivateKey ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSPrivateKey() bool
HasTLSPrivateKey returns a bool indicating if the HTTP endpoint contains a tls client key
func (HTTPEndpoint) HasTLSPrivateKeySecret ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSPrivateKeySecret() bool
nil returns a bool indicating if a tls private key has a secret reference
func (HTTPEndpoint) HasTLSRootCA ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSRootCA() bool
HasTLSRootCA returns a bool indicating if the HTTP endpoint contains a tls root ca
func (HTTPEndpoint) HasTLSRootCASecret ¶ added in v1.12.0
func (h HTTPEndpoint) HasTLSRootCASecret() bool
HasTLSRootCASecret returns a bool indicating if a tls root cert has a secret reference
func (HTTPEndpoint) LogName ¶ added in v1.13.0
func (h HTTPEndpoint) LogName() string
LogName returns the name of the component that can be used in logging.
func (HTTPEndpoint) NameValuePairs ¶ added in v1.12.0
func (h HTTPEndpoint) NameValuePairs() []common.NameValuePair
NameValuePairs returns the component's headers as name/value pairs
type HTTPEndpointList ¶
type HTTPEndpointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []HTTPEndpoint `json:"items"` }
HTTPEndpointList is a list of Dapr HTTPEndpoints.
func (*HTTPEndpointList) DeepCopy ¶
func (in *HTTPEndpointList) DeepCopy() *HTTPEndpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPEndpointList.
func (*HTTPEndpointList) DeepCopyInto ¶
func (in *HTTPEndpointList) DeepCopyInto(out *HTTPEndpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPEndpointList) DeepCopyObject ¶
func (in *HTTPEndpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPEndpointSpec ¶
type HTTPEndpointSpec struct { BaseURL string `json:"baseUrl" validate:"required"` //+optional Headers []common.NameValuePair `json:"headers"` //+optional ClientTLS *common.TLS `json:"clientTLS,omitempty"` }
HTTPEndpointSpec describes an access specification for allowing external service invocations.
func (*HTTPEndpointSpec) DeepCopy ¶
func (in *HTTPEndpointSpec) DeepCopy() *HTTPEndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPEndpointSpec.
func (*HTTPEndpointSpec) DeepCopyInto ¶
func (in *HTTPEndpointSpec) DeepCopyInto(out *HTTPEndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.