v1alpha1

package
v1.11.0-rc.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dapr.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: httpendpoint.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind 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

func (in *Auth) DeepCopy() *Auth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DynamicValue

type DynamicValue struct {
	v1.JSON `json:",inline"`
}

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.

func (HTTPEndpoint) Kind

func (HTTPEndpoint) Kind() string

Kind returns the component kind.

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 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

func (in *Header) DeepCopy() *Header

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Header.

func (*Header) DeepCopyInto

func (in *Header) DeepCopyInto(out *Header)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL