azure

package
v1.13.0-beta17 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 19 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UpstreamSpec_FunctionSpec_AuthLevel_name = map[int32]string{
		0: "Anonymous",
		1: "Function",
		2: "Admin",
	}
	UpstreamSpec_FunctionSpec_AuthLevel_value = map[string]int32{
		"Anonymous": 0,
		"Function":  1,
		"Admin":     2,
	}
)

Enum value maps for UpstreamSpec_FunctionSpec_AuthLevel.

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_azure_azure_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DestinationSpec

type DestinationSpec struct {

	// The Function Name of the FunctionSpec to be invoked.
	FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DestinationSpec) Clone added in v1.8.24

func (m *DestinationSpec) Clone() proto.Message

Clone function

func (*DestinationSpec) Descriptor deprecated

func (*DestinationSpec) Descriptor() ([]byte, []int)

Deprecated: Use DestinationSpec.ProtoReflect.Descriptor instead.

func (*DestinationSpec) Equal

func (m *DestinationSpec) Equal(that interface{}) bool

Equal function

func (*DestinationSpec) GetFunctionName

func (x *DestinationSpec) GetFunctionName() string

func (*DestinationSpec) Hash added in v1.2.13

func (m *DestinationSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*DestinationSpec) ProtoMessage

func (*DestinationSpec) ProtoMessage()

func (*DestinationSpec) ProtoReflect added in v1.6.0

func (x *DestinationSpec) ProtoReflect() protoreflect.Message

func (*DestinationSpec) Reset

func (x *DestinationSpec) Reset()

func (*DestinationSpec) String

func (x *DestinationSpec) String() string

type UpstreamSpec

type UpstreamSpec struct {

	// The Name of the Azure Function App where the functions are grouped
	FunctionAppName string `protobuf:"bytes,1,opt,name=function_app_name,json=functionAppName,proto3" json:"function_app_name,omitempty"`
	// A [Gloo Secret Ref](https://docs.solo.io/gloo-edge/latest/reference/cli/glooctl_create_secret_azure/) to an [Azure Publish Profile JSON file](https://azure.microsoft.com/en-us/downloads/publishing-profile-overview/).
	// Note that this secret is not required unless Function Discovery is enabled
	SecretRef *core.ResourceRef            `protobuf:"bytes,2,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"`
	Functions []*UpstreamSpec_FunctionSpec `protobuf:"bytes,3,rep,name=functions,proto3" json:"functions,omitempty"`
	// contains filtered or unexported fields
}

Upstream Spec for Azure Functions Upstreams Azure Upstreams represent a collection of Azure Functions for a particular Azure Account within a particular Function App

func (*UpstreamSpec) Clone added in v1.8.24

func (m *UpstreamSpec) Clone() proto.Message

Clone function

func (*UpstreamSpec) Descriptor deprecated

func (*UpstreamSpec) Descriptor() ([]byte, []int)

Deprecated: Use UpstreamSpec.ProtoReflect.Descriptor instead.

func (*UpstreamSpec) Equal

func (m *UpstreamSpec) Equal(that interface{}) bool

Equal function

func (*UpstreamSpec) GetFunctionAppName

func (x *UpstreamSpec) GetFunctionAppName() string

func (*UpstreamSpec) GetFunctions

func (x *UpstreamSpec) GetFunctions() []*UpstreamSpec_FunctionSpec

func (*UpstreamSpec) GetSecretRef

func (x *UpstreamSpec) GetSecretRef() *core.ResourceRef

func (*UpstreamSpec) Hash added in v1.2.13

func (m *UpstreamSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*UpstreamSpec) ProtoMessage

func (*UpstreamSpec) ProtoMessage()

func (*UpstreamSpec) ProtoReflect added in v1.6.0

func (x *UpstreamSpec) ProtoReflect() protoreflect.Message

func (*UpstreamSpec) Reset

func (x *UpstreamSpec) Reset()

func (*UpstreamSpec) String

func (x *UpstreamSpec) String() string

type UpstreamSpec_FunctionSpec

type UpstreamSpec_FunctionSpec struct {

	// The Name of the Azure Function as it appears in the Azure Functions Portal
	FunctionName string `protobuf:"bytes,1,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// Auth Level can bve either "anonymous" "function" or "admin"
	// See https://vincentlauzon.com/2017/12/04/azure-functions-http-authorization-levels/ for more details
	AuthLevel UpstreamSpec_FunctionSpec_AuthLevel `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

Function Spec for Functions on Azure Functions Upstreams The Function Spec contains data necessary for Gloo to invoke Azure functions

func (*UpstreamSpec_FunctionSpec) Clone added in v1.8.24

Clone function

func (*UpstreamSpec_FunctionSpec) Descriptor deprecated

func (*UpstreamSpec_FunctionSpec) Descriptor() ([]byte, []int)

Deprecated: Use UpstreamSpec_FunctionSpec.ProtoReflect.Descriptor instead.

func (*UpstreamSpec_FunctionSpec) Equal

func (m *UpstreamSpec_FunctionSpec) Equal(that interface{}) bool

Equal function

func (*UpstreamSpec_FunctionSpec) GetAuthLevel

func (*UpstreamSpec_FunctionSpec) GetFunctionName

func (x *UpstreamSpec_FunctionSpec) GetFunctionName() string

func (*UpstreamSpec_FunctionSpec) Hash added in v1.2.13

func (m *UpstreamSpec_FunctionSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*UpstreamSpec_FunctionSpec) ProtoMessage

func (*UpstreamSpec_FunctionSpec) ProtoMessage()

func (*UpstreamSpec_FunctionSpec) ProtoReflect added in v1.6.0

func (*UpstreamSpec_FunctionSpec) Reset

func (x *UpstreamSpec_FunctionSpec) Reset()

func (*UpstreamSpec_FunctionSpec) String

func (x *UpstreamSpec_FunctionSpec) String() string

type UpstreamSpec_FunctionSpec_AuthLevel

type UpstreamSpec_FunctionSpec_AuthLevel int32
const (
	UpstreamSpec_FunctionSpec_Anonymous UpstreamSpec_FunctionSpec_AuthLevel = 0
	UpstreamSpec_FunctionSpec_Function  UpstreamSpec_FunctionSpec_AuthLevel = 1
	UpstreamSpec_FunctionSpec_Admin     UpstreamSpec_FunctionSpec_AuthLevel = 2
)

func (UpstreamSpec_FunctionSpec_AuthLevel) Descriptor added in v1.6.0

func (UpstreamSpec_FunctionSpec_AuthLevel) Enum added in v1.6.0

func (UpstreamSpec_FunctionSpec_AuthLevel) EnumDescriptor deprecated

func (UpstreamSpec_FunctionSpec_AuthLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpstreamSpec_FunctionSpec_AuthLevel.Descriptor instead.

func (UpstreamSpec_FunctionSpec_AuthLevel) Number added in v1.6.0

func (UpstreamSpec_FunctionSpec_AuthLevel) String

func (UpstreamSpec_FunctionSpec_AuthLevel) Type added in v1.6.0

Jump to

Keyboard shortcuts

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