Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=dapr.io
Index ¶
Constants ¶
This section is empty.
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 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 DynamicValue ¶
DynamicValue is a dynamic value struct for the header.value.
func (*DynamicValue) DeepCopy ¶
func (in *DynamicValue) DeepCopy() *DynamicValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DynamicValue.
func (*DynamicValue) DeepCopyInto ¶
func (in *DynamicValue) DeepCopyInto(out *DynamicValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DynamicValue) String ¶
func (d *DynamicValue) String() string
String returns the string representation of the raw value. If the value is a string, it will be unquoted as the string is guaranteed to be a JSON serialized string.
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"` //+optional Scopes []string `json:"scopes,omitempty"` }
HTTPEndpoint describes a Dapr HTTPEndpoint type for external service invocation. This endpoint can be external to Dapr, or external to the environment.
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) IsAppScoped ¶
func (e HTTPEndpoint) IsAppScoped(appID string) bool
IsAppScoped returns true if the appID is allowed in the scopes for the http endpoint.
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 []Header `json:"headers"` }
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.
type Header ¶
type Header struct { Name string `json:"name"` //+optional Value DynamicValue `json:"value"` //+optional SecretKeyRef SecretKeyRef `json:"secretKeyRef,omitempty"` }
Header is the name/value pair for a header specification.
func (*Header) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header.
func (*Header) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretKeyRef ¶
type SecretKeyRef struct { Name string `json:"name" validate:"required"` Key string `json:"key" validate:"required"` }
SecretKeyRef is a reference to a secret holding the value for the metadata item. Name is the secret name, and key is the field in the secret.
func (*SecretKeyRef) DeepCopy ¶
func (in *SecretKeyRef) DeepCopy() *SecretKeyRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretKeyRef.
func (*SecretKeyRef) DeepCopyInto ¶
func (in *SecretKeyRef) DeepCopyInto(out *SecretKeyRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.