azure

package
v0.21.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DestinationSpec) Descriptor

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

func (*DestinationSpec) Equal

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

func (*DestinationSpec) GetFunctionName

func (m *DestinationSpec) GetFunctionName() string

func (*DestinationSpec) ProtoMessage

func (*DestinationSpec) ProtoMessage()

func (*DestinationSpec) Reset

func (m *DestinationSpec) Reset()

func (*DestinationSpec) String

func (m *DestinationSpec) String() string

func (*DestinationSpec) XXX_DiscardUnknown

func (m *DestinationSpec) XXX_DiscardUnknown()

func (*DestinationSpec) XXX_Marshal

func (m *DestinationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DestinationSpec) XXX_Merge

func (m *DestinationSpec) XXX_Merge(src proto.Message)

func (*DestinationSpec) XXX_Size

func (m *DestinationSpec) XXX_Size() int

func (*DestinationSpec) XXX_Unmarshal

func (m *DestinationSpec) XXX_Unmarshal(b []byte) error

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://gloo.solo.io/introduction/concepts/#Secrets) to an [Azure Publish Profile JSON file](https://azure.microsoft.com/en-us/downloads/publishing-profile-overview/).
	// {{ hide_not_implemented "Azure Secrets can be created with `glooctl secret create azure ...`" }}
	// 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"`
	Functions            []*UpstreamSpec_FunctionSpec `protobuf:"bytes,3,rep,name=functions,proto3" json:"functions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

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

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

func (*UpstreamSpec) Equal

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

func (*UpstreamSpec) GetFunctionAppName

func (m *UpstreamSpec) GetFunctionAppName() string

func (*UpstreamSpec) GetFunctions

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

func (*UpstreamSpec) GetSecretRef

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

func (*UpstreamSpec) ProtoMessage

func (*UpstreamSpec) ProtoMessage()

func (*UpstreamSpec) Reset

func (m *UpstreamSpec) Reset()

func (*UpstreamSpec) String

func (m *UpstreamSpec) String() string

func (*UpstreamSpec) XXX_DiscardUnknown

func (m *UpstreamSpec) XXX_DiscardUnknown()

func (*UpstreamSpec) XXX_Marshal

func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpstreamSpec) XXX_Merge

func (m *UpstreamSpec) XXX_Merge(src proto.Message)

func (*UpstreamSpec) XXX_Size

func (m *UpstreamSpec) XXX_Size() int

func (*UpstreamSpec) XXX_Unmarshal

func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

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

func (*UpstreamSpec_FunctionSpec) Descriptor

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

func (*UpstreamSpec_FunctionSpec) Equal

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

func (*UpstreamSpec_FunctionSpec) GetAuthLevel

func (*UpstreamSpec_FunctionSpec) GetFunctionName

func (m *UpstreamSpec_FunctionSpec) GetFunctionName() string

func (*UpstreamSpec_FunctionSpec) ProtoMessage

func (*UpstreamSpec_FunctionSpec) ProtoMessage()

func (*UpstreamSpec_FunctionSpec) Reset

func (m *UpstreamSpec_FunctionSpec) Reset()

func (*UpstreamSpec_FunctionSpec) String

func (m *UpstreamSpec_FunctionSpec) String() string

func (*UpstreamSpec_FunctionSpec) XXX_DiscardUnknown

func (m *UpstreamSpec_FunctionSpec) XXX_DiscardUnknown()

func (*UpstreamSpec_FunctionSpec) XXX_Marshal

func (m *UpstreamSpec_FunctionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpstreamSpec_FunctionSpec) XXX_Merge

func (m *UpstreamSpec_FunctionSpec) XXX_Merge(src proto.Message)

func (*UpstreamSpec_FunctionSpec) XXX_Size

func (m *UpstreamSpec_FunctionSpec) XXX_Size() int

func (*UpstreamSpec_FunctionSpec) XXX_Unmarshal

func (m *UpstreamSpec_FunctionSpec) XXX_Unmarshal(b []byte) error

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

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

func (UpstreamSpec_FunctionSpec_AuthLevel) String

Jump to

Keyboard shortcuts

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