identityprovider

package
v0.0.0-...-6419794 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OAuthConfigService_GetOne_FullMethodName           = "/arista.identityprovider.v1.OAuthConfigService/GetOne"
	OAuthConfigService_GetSome_FullMethodName          = "/arista.identityprovider.v1.OAuthConfigService/GetSome"
	OAuthConfigService_GetAll_FullMethodName           = "/arista.identityprovider.v1.OAuthConfigService/GetAll"
	OAuthConfigService_Subscribe_FullMethodName        = "/arista.identityprovider.v1.OAuthConfigService/Subscribe"
	OAuthConfigService_GetMeta_FullMethodName          = "/arista.identityprovider.v1.OAuthConfigService/GetMeta"
	OAuthConfigService_SubscribeMeta_FullMethodName    = "/arista.identityprovider.v1.OAuthConfigService/SubscribeMeta"
	OAuthConfigService_Set_FullMethodName              = "/arista.identityprovider.v1.OAuthConfigService/Set"
	OAuthConfigService_SetSome_FullMethodName          = "/arista.identityprovider.v1.OAuthConfigService/SetSome"
	OAuthConfigService_Delete_FullMethodName           = "/arista.identityprovider.v1.OAuthConfigService/Delete"
	OAuthConfigService_DeleteSome_FullMethodName       = "/arista.identityprovider.v1.OAuthConfigService/DeleteSome"
	OAuthConfigService_DeleteAll_FullMethodName        = "/arista.identityprovider.v1.OAuthConfigService/DeleteAll"
	OAuthConfigService_GetAllBatched_FullMethodName    = "/arista.identityprovider.v1.OAuthConfigService/GetAllBatched"
	OAuthConfigService_SubscribeBatched_FullMethodName = "/arista.identityprovider.v1.OAuthConfigService/SubscribeBatched"
)
View Source
const (
	SAMLConfigService_GetOne_FullMethodName           = "/arista.identityprovider.v1.SAMLConfigService/GetOne"
	SAMLConfigService_GetSome_FullMethodName          = "/arista.identityprovider.v1.SAMLConfigService/GetSome"
	SAMLConfigService_GetAll_FullMethodName           = "/arista.identityprovider.v1.SAMLConfigService/GetAll"
	SAMLConfigService_Subscribe_FullMethodName        = "/arista.identityprovider.v1.SAMLConfigService/Subscribe"
	SAMLConfigService_GetMeta_FullMethodName          = "/arista.identityprovider.v1.SAMLConfigService/GetMeta"
	SAMLConfigService_SubscribeMeta_FullMethodName    = "/arista.identityprovider.v1.SAMLConfigService/SubscribeMeta"
	SAMLConfigService_Set_FullMethodName              = "/arista.identityprovider.v1.SAMLConfigService/Set"
	SAMLConfigService_SetSome_FullMethodName          = "/arista.identityprovider.v1.SAMLConfigService/SetSome"
	SAMLConfigService_Delete_FullMethodName           = "/arista.identityprovider.v1.SAMLConfigService/Delete"
	SAMLConfigService_DeleteSome_FullMethodName       = "/arista.identityprovider.v1.SAMLConfigService/DeleteSome"
	SAMLConfigService_DeleteAll_FullMethodName        = "/arista.identityprovider.v1.SAMLConfigService/DeleteAll"
	SAMLConfigService_GetAllBatched_FullMethodName    = "/arista.identityprovider.v1.SAMLConfigService/GetAllBatched"
	SAMLConfigService_SubscribeBatched_FullMethodName = "/arista.identityprovider.v1.SAMLConfigService/SubscribeBatched"
)

Variables

View Source
var (
	ProtocolBinding_name = map[int32]string{
		0: "PROTOCOL_BINDING_UNSPECIFIED",
		1: "PROTOCOL_BINDING_HTTP_POST",
		2: "PROTOCOL_BINDING_HTTP_REDIRECT",
	}
	ProtocolBinding_value = map[string]int32{
		"PROTOCOL_BINDING_UNSPECIFIED":   0,
		"PROTOCOL_BINDING_HTTP_POST":     1,
		"PROTOCOL_BINDING_HTTP_REDIRECT": 2,
	}
)

Enum value maps for ProtocolBinding.

View Source
var File_arista_identityprovider_v1_identityprovider_proto protoreflect.FileDescriptor
View Source
var File_arista_identityprovider_v1_services_gen_proto protoreflect.FileDescriptor
View Source
var OAuthConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.identityprovider.v1.OAuthConfigService",
	HandlerType: (*OAuthConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _OAuthConfigService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _OAuthConfigService_GetMeta_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _OAuthConfigService_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _OAuthConfigService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _OAuthConfigService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _OAuthConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _OAuthConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _OAuthConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SetSome",
			Handler:       _OAuthConfigService_SetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteSome",
			Handler:       _OAuthConfigService_DeleteSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteAll",
			Handler:       _OAuthConfigService_DeleteAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAllBatched",
			Handler:       _OAuthConfigService_GetAllBatched_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeBatched",
			Handler:       _OAuthConfigService_SubscribeBatched_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/identityprovider.v1/services.gen.proto",
}

OAuthConfigService_ServiceDesc is the grpc.ServiceDesc for OAuthConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SAMLConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "arista.identityprovider.v1.SAMLConfigService",
	HandlerType: (*SAMLConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetOne",
			Handler:    _SAMLConfigService_GetOne_Handler,
		},
		{
			MethodName: "GetMeta",
			Handler:    _SAMLConfigService_GetMeta_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _SAMLConfigService_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _SAMLConfigService_Delete_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "GetSome",
			Handler:       _SAMLConfigService_GetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAll",
			Handler:       _SAMLConfigService_GetAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Subscribe",
			Handler:       _SAMLConfigService_Subscribe_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeMeta",
			Handler:       _SAMLConfigService_SubscribeMeta_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SetSome",
			Handler:       _SAMLConfigService_SetSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteSome",
			Handler:       _SAMLConfigService_DeleteSome_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "DeleteAll",
			Handler:       _SAMLConfigService_DeleteAll_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "GetAllBatched",
			Handler:       _SAMLConfigService_GetAllBatched_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "SubscribeBatched",
			Handler:       _SAMLConfigService_SubscribeBatched_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "arista/identityprovider.v1/services.gen.proto",
}

SAMLConfigService_ServiceDesc is the grpc.ServiceDesc for SAMLConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOAuthConfigServiceServer

func RegisterOAuthConfigServiceServer(s grpc.ServiceRegistrar, srv OAuthConfigServiceServer)

func RegisterSAMLConfigServiceServer

func RegisterSAMLConfigServiceServer(s grpc.ServiceRegistrar, srv SAMLConfigServiceServer)

Types

type MetaResponse

type MetaResponse struct {

	// Time holds the timestamp of the last item included in the metadata calculation.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,2,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// Count is the number of items present under the conditions of the request.
	Count *wrapperspb.UInt32Value `protobuf:"bytes,3,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*MetaResponse) Descriptor deprecated

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

Deprecated: Use MetaResponse.ProtoReflect.Descriptor instead.

func (*MetaResponse) GetCount

func (x *MetaResponse) GetCount() *wrapperspb.UInt32Value

func (*MetaResponse) GetTime

func (x *MetaResponse) GetTime() *timestamppb.Timestamp

func (*MetaResponse) GetType

func (x *MetaResponse) GetType() subscriptions.Operation

func (*MetaResponse) ProtoMessage

func (*MetaResponse) ProtoMessage()

func (*MetaResponse) ProtoReflect

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

func (*MetaResponse) Reset

func (x *MetaResponse) Reset()

func (*MetaResponse) String

func (x *MetaResponse) String() string

type OAuthConfig

type OAuthConfig struct {

	// key is the ID of the OAuth provider.
	Key *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// endpoint is the URL that identifies an OAuth authorization server.
	// This endpoint is used to interact with the provider. It must be a
	// URI [RFC3986] with a scheme component that must be https, a host component,
	// and optionally, port and path components, but no query or fragment components.
	Endpoint *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// client_id is the ID that the OAuth authorization server issues to the
	// registered client.
	ClientId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// client_secret is the secret that the OAuth authorization server issues
	// to the registered client.
	ClientSecret *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// algorithms is the set of signing algorithms. This is an optional field.
	// If specified, only this set of algorithms may be used to sign the JWT.
	// Otherwise, this defaults to the set of algorithms that the provider supports.
	Algorithms *fmp.RepeatedString `protobuf:"bytes,5,opt,name=algorithms,proto3" json:"algorithms,omitempty"`
	// link_to_shared_provider indicates whether or not use the provider as a shared
	// provider. This is an optional field and set to false by default.
	LinkToSharedProvider *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=link_to_shared_provider,json=linkToSharedProvider,proto3" json:"link_to_shared_provider,omitempty"`
	// jwks_uri is where signing keys are downloaded. This is an optional field.
	// Only needed if the default construction from endpoint would be incorrect.
	JwksUri *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
	// permitted_email_domains are domains of emails that users are allowed to use.
	// This is an optional field. If not set, all domains are accepted by default.
	PermittedEmailDomains *fmp.RepeatedString `` /* 126-byte string literal not displayed */
	// roles_scope_name is the name for a scope tied to a claim that holds
	// CloudVision roles in ID Token. CloudVision uses scope values to specify
	// what access privileges are being requested for id token. CloudVision
	// appends this value to `scope` query parameter in the authorization request URL.
	// This is an optional field. If not set, CloudVision determines that
	// mapping roles from the provider is disabled. If it's set, roles_claim_name
	// also needs to be set.
	RolesScopeName *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=roles_scope_name,json=rolesScopeName,proto3" json:"roles_scope_name,omitempty"`
	// bearer_token_introspection_endpoint is the provider instrospection endpoint used
	// in Bearer Token based login support for CloudVision. This is an optional field.
	// If specified, this endpoint will be used to verify bearer tokens generated via
	// the provider to log in automated user accounts.
	BearerTokenIntrospectionEndpoint *wrapperspb.StringValue `` /* 162-byte string literal not displayed */
	// roles_claim_name is the name for a claim that holds CloudVision roles in ID Token.
	// CloudVision uses this value to look up roles in the ID Token.
	// This is an optional field. If not set, CloudVision determines that
	// mapping roles from the provider is disabled. If it's set, roles_scope_name
	// also needs to be set.
	RolesClaimName *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=roles_claim_name,json=rolesClaimName,proto3" json:"roles_claim_name,omitempty"`
	// contains filtered or unexported fields
}

OAuthConfig holds the configuration for an OAuth provider.

func (*OAuthConfig) Descriptor deprecated

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

Deprecated: Use OAuthConfig.ProtoReflect.Descriptor instead.

func (*OAuthConfig) GetAlgorithms

func (x *OAuthConfig) GetAlgorithms() *fmp.RepeatedString

func (*OAuthConfig) GetBearerTokenIntrospectionEndpoint

func (x *OAuthConfig) GetBearerTokenIntrospectionEndpoint() *wrapperspb.StringValue

func (*OAuthConfig) GetClientId

func (x *OAuthConfig) GetClientId() *wrapperspb.StringValue

func (*OAuthConfig) GetClientSecret

func (x *OAuthConfig) GetClientSecret() *wrapperspb.StringValue

func (*OAuthConfig) GetEndpoint

func (x *OAuthConfig) GetEndpoint() *wrapperspb.StringValue

func (*OAuthConfig) GetJwksUri

func (x *OAuthConfig) GetJwksUri() *wrapperspb.StringValue

func (*OAuthConfig) GetKey

func (x *OAuthConfig) GetKey() *OAuthKey

func (*OAuthConfig) GetLinkToSharedProvider

func (x *OAuthConfig) GetLinkToSharedProvider() *wrapperspb.BoolValue

func (*OAuthConfig) GetPermittedEmailDomains

func (x *OAuthConfig) GetPermittedEmailDomains() *fmp.RepeatedString

func (*OAuthConfig) GetRolesClaimName

func (x *OAuthConfig) GetRolesClaimName() *wrapperspb.StringValue

func (*OAuthConfig) GetRolesScopeName

func (x *OAuthConfig) GetRolesScopeName() *wrapperspb.StringValue

func (*OAuthConfig) ProtoMessage

func (*OAuthConfig) ProtoMessage()

func (*OAuthConfig) ProtoReflect

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

func (*OAuthConfig) Reset

func (x *OAuthConfig) Reset()

func (*OAuthConfig) String

func (x *OAuthConfig) String() string

type OAuthConfigBatchedStreamRequest

type OAuthConfigBatchedStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*OAuthConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   - end: Returns the state of each OAuthConfig at end.
	//   - Each OAuthConfig response is fully-specified (all fields set).
	//   - start: Returns the state of each OAuthConfig at start, followed by updates until now.
	//   - Each OAuthConfig response at start is fully-specified, but updates may be partial.
	//   - start and end: Returns the state of each OAuthConfig at start, followed by updates
	//     until end.
	//   - Each OAuthConfig response at start is fully-specified, but updates until end may
	//     be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// MaxMessages limits the maximum number of messages that can be contained in one batch.
	// MaxMessages is required to be at least 1.
	// The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
	// INTERNAL_BATCH_LIMIT is set based on the maximum message size.
	MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigBatchedStreamRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigBatchedStreamRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigBatchedStreamRequest) GetMaxMessages

func (*OAuthConfigBatchedStreamRequest) GetPartialEqFilter

func (x *OAuthConfigBatchedStreamRequest) GetPartialEqFilter() []*OAuthConfig

func (*OAuthConfigBatchedStreamRequest) GetTime

func (*OAuthConfigBatchedStreamRequest) ProtoMessage

func (*OAuthConfigBatchedStreamRequest) ProtoMessage()

func (*OAuthConfigBatchedStreamRequest) ProtoReflect

func (*OAuthConfigBatchedStreamRequest) Reset

func (*OAuthConfigBatchedStreamRequest) String

type OAuthConfigBatchedStreamResponse

type OAuthConfigBatchedStreamResponse struct {

	// Values are the values deemed relevant to the initiating request.
	// The length of this structure is guaranteed to be between (inclusive) 1 and
	// min(req.max_messages, INTERNAL_BATCH_LIMIT).
	Responses []*OAuthConfigStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigBatchedStreamResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigBatchedStreamResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigBatchedStreamResponse) GetResponses

func (*OAuthConfigBatchedStreamResponse) ProtoMessage

func (*OAuthConfigBatchedStreamResponse) ProtoMessage()

func (*OAuthConfigBatchedStreamResponse) ProtoReflect

func (*OAuthConfigBatchedStreamResponse) Reset

func (*OAuthConfigBatchedStreamResponse) String

type OAuthConfigDeleteAllRequest

type OAuthConfigDeleteAllRequest struct {

	// PartialEqFilter provides a way to server-side filter a DeleteAll.
	// This requires all provided fields to be equal to the response.
	// A filtered DeleteAll will use GetAll with filter to find things to delete.
	PartialEqFilter []*OAuthConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteAllRequest) GetPartialEqFilter

func (x *OAuthConfigDeleteAllRequest) GetPartialEqFilter() []*OAuthConfig

func (*OAuthConfigDeleteAllRequest) ProtoMessage

func (*OAuthConfigDeleteAllRequest) ProtoMessage()

func (*OAuthConfigDeleteAllRequest) ProtoReflect

func (*OAuthConfigDeleteAllRequest) Reset

func (x *OAuthConfigDeleteAllRequest) Reset()

func (*OAuthConfigDeleteAllRequest) String

func (x *OAuthConfigDeleteAllRequest) String() string

type OAuthConfigDeleteAllResponse

type OAuthConfigDeleteAllResponse struct {

	// This describes the class of delete error.
	// A DeleteAllResponse is only sent when there is an error.
	Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"`
	// This indicates the error message from the delete failure.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// This is the key of the OAuthConfig instance that failed to be deleted.
	Key *OAuthKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp when the key was being deleted.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteAllResponse) GetError

func (*OAuthConfigDeleteAllResponse) GetKey

func (*OAuthConfigDeleteAllResponse) GetTime

func (*OAuthConfigDeleteAllResponse) GetType

func (*OAuthConfigDeleteAllResponse) ProtoMessage

func (*OAuthConfigDeleteAllResponse) ProtoMessage()

func (*OAuthConfigDeleteAllResponse) ProtoReflect

func (*OAuthConfigDeleteAllResponse) Reset

func (x *OAuthConfigDeleteAllResponse) Reset()

func (*OAuthConfigDeleteAllResponse) String

type OAuthConfigDeleteRequest

type OAuthConfigDeleteRequest struct {

	// Key indicates which OAuthConfig instance to remove.
	// This field must always be set.
	Key *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigDeleteRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteRequest) GetKey

func (x *OAuthConfigDeleteRequest) GetKey() *OAuthKey

func (*OAuthConfigDeleteRequest) ProtoMessage

func (*OAuthConfigDeleteRequest) ProtoMessage()

func (*OAuthConfigDeleteRequest) ProtoReflect

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

func (*OAuthConfigDeleteRequest) Reset

func (x *OAuthConfigDeleteRequest) Reset()

func (*OAuthConfigDeleteRequest) String

func (x *OAuthConfigDeleteRequest) String() string

type OAuthConfigDeleteResponse

type OAuthConfigDeleteResponse struct {

	// Key echoes back the key of the deleted OAuthConfig instance.
	Key *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// deletion. The only guarantees made about this timestamp are:
	//
	//   - it is after the time the request was received
	//   - a time-ranged query with StartTime==DeletedAt will not include this instance.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigDeleteResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteResponse) GetKey

func (x *OAuthConfigDeleteResponse) GetKey() *OAuthKey

func (*OAuthConfigDeleteResponse) GetTime

func (*OAuthConfigDeleteResponse) ProtoMessage

func (*OAuthConfigDeleteResponse) ProtoMessage()

func (*OAuthConfigDeleteResponse) ProtoReflect

func (*OAuthConfigDeleteResponse) Reset

func (x *OAuthConfigDeleteResponse) Reset()

func (*OAuthConfigDeleteResponse) String

func (x *OAuthConfigDeleteResponse) String() string

type OAuthConfigDeleteSomeRequest

type OAuthConfigDeleteSomeRequest struct {

	// key contains a list of OAuthConfig keys to delete
	Keys []*OAuthKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigDeleteSomeRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteSomeRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteSomeRequest) GetKeys

func (x *OAuthConfigDeleteSomeRequest) GetKeys() []*OAuthKey

func (*OAuthConfigDeleteSomeRequest) ProtoMessage

func (*OAuthConfigDeleteSomeRequest) ProtoMessage()

func (*OAuthConfigDeleteSomeRequest) ProtoReflect

func (*OAuthConfigDeleteSomeRequest) Reset

func (x *OAuthConfigDeleteSomeRequest) Reset()

func (*OAuthConfigDeleteSomeRequest) String

type OAuthConfigDeleteSomeResponse

type OAuthConfigDeleteSomeResponse struct {
	Key   *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string    `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

OAuthConfigDeleteSomeResponse is only sent when there is an error.

func (*OAuthConfigDeleteSomeResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigDeleteSomeResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigDeleteSomeResponse) GetError

func (x *OAuthConfigDeleteSomeResponse) GetError() string

func (*OAuthConfigDeleteSomeResponse) GetKey

func (*OAuthConfigDeleteSomeResponse) ProtoMessage

func (*OAuthConfigDeleteSomeResponse) ProtoMessage()

func (*OAuthConfigDeleteSomeResponse) ProtoReflect

func (*OAuthConfigDeleteSomeResponse) Reset

func (x *OAuthConfigDeleteSomeResponse) Reset()

func (*OAuthConfigDeleteSomeResponse) String

type OAuthConfigRequest

type OAuthConfigRequest struct {

	// Key uniquely identifies a OAuthConfig instance to retrieve.
	// This value must be populated.
	Key *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigRequest) GetKey

func (x *OAuthConfigRequest) GetKey() *OAuthKey

func (*OAuthConfigRequest) GetTime

func (*OAuthConfigRequest) ProtoMessage

func (*OAuthConfigRequest) ProtoMessage()

func (*OAuthConfigRequest) ProtoReflect

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

func (*OAuthConfigRequest) Reset

func (x *OAuthConfigRequest) Reset()

func (*OAuthConfigRequest) String

func (x *OAuthConfigRequest) String() string

type OAuthConfigResponse

type OAuthConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *OAuthConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// OAuthConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigResponse) GetTime

func (*OAuthConfigResponse) GetValue

func (x *OAuthConfigResponse) GetValue() *OAuthConfig

func (*OAuthConfigResponse) ProtoMessage

func (*OAuthConfigResponse) ProtoMessage()

func (*OAuthConfigResponse) ProtoReflect

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

func (*OAuthConfigResponse) Reset

func (x *OAuthConfigResponse) Reset()

func (*OAuthConfigResponse) String

func (x *OAuthConfigResponse) String() string

type OAuthConfigServiceClient

type OAuthConfigServiceClient interface {
	GetOne(ctx context.Context, in *OAuthConfigRequest, opts ...grpc.CallOption) (*OAuthConfigResponse, error)
	GetSome(ctx context.Context, in *OAuthConfigSomeRequest, opts ...grpc.CallOption) (OAuthConfigService_GetSomeClient, error)
	GetAll(ctx context.Context, in *OAuthConfigStreamRequest, opts ...grpc.CallOption) (OAuthConfigService_GetAllClient, error)
	Subscribe(ctx context.Context, in *OAuthConfigStreamRequest, opts ...grpc.CallOption) (OAuthConfigService_SubscribeClient, error)
	GetMeta(ctx context.Context, in *OAuthConfigStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error)
	SubscribeMeta(ctx context.Context, in *OAuthConfigStreamRequest, opts ...grpc.CallOption) (OAuthConfigService_SubscribeMetaClient, error)
	Set(ctx context.Context, in *OAuthConfigSetRequest, opts ...grpc.CallOption) (*OAuthConfigSetResponse, error)
	SetSome(ctx context.Context, in *OAuthConfigSetSomeRequest, opts ...grpc.CallOption) (OAuthConfigService_SetSomeClient, error)
	Delete(ctx context.Context, in *OAuthConfigDeleteRequest, opts ...grpc.CallOption) (*OAuthConfigDeleteResponse, error)
	DeleteSome(ctx context.Context, in *OAuthConfigDeleteSomeRequest, opts ...grpc.CallOption) (OAuthConfigService_DeleteSomeClient, error)
	DeleteAll(ctx context.Context, in *OAuthConfigDeleteAllRequest, opts ...grpc.CallOption) (OAuthConfigService_DeleteAllClient, error)
	GetAllBatched(ctx context.Context, in *OAuthConfigBatchedStreamRequest, opts ...grpc.CallOption) (OAuthConfigService_GetAllBatchedClient, error)
	SubscribeBatched(ctx context.Context, in *OAuthConfigBatchedStreamRequest, opts ...grpc.CallOption) (OAuthConfigService_SubscribeBatchedClient, error)
}

OAuthConfigServiceClient is the client API for OAuthConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type OAuthConfigService_DeleteAllClient

type OAuthConfigService_DeleteAllClient interface {
	Recv() (*OAuthConfigDeleteAllResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_DeleteAllServer

type OAuthConfigService_DeleteAllServer interface {
	Send(*OAuthConfigDeleteAllResponse) error
	grpc.ServerStream
}

type OAuthConfigService_DeleteSomeClient

type OAuthConfigService_DeleteSomeClient interface {
	Recv() (*OAuthConfigDeleteSomeResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_DeleteSomeServer

type OAuthConfigService_DeleteSomeServer interface {
	Send(*OAuthConfigDeleteSomeResponse) error
	grpc.ServerStream
}

type OAuthConfigService_GetAllBatchedClient

type OAuthConfigService_GetAllBatchedClient interface {
	Recv() (*OAuthConfigBatchedStreamResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_GetAllBatchedServer

type OAuthConfigService_GetAllBatchedServer interface {
	Send(*OAuthConfigBatchedStreamResponse) error
	grpc.ServerStream
}

type OAuthConfigService_GetAllClient

type OAuthConfigService_GetAllClient interface {
	Recv() (*OAuthConfigStreamResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_GetAllServer

type OAuthConfigService_GetAllServer interface {
	Send(*OAuthConfigStreamResponse) error
	grpc.ServerStream
}

type OAuthConfigService_GetSomeClient

type OAuthConfigService_GetSomeClient interface {
	Recv() (*OAuthConfigSomeResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_GetSomeServer

type OAuthConfigService_GetSomeServer interface {
	Send(*OAuthConfigSomeResponse) error
	grpc.ServerStream
}

type OAuthConfigService_SetSomeClient

type OAuthConfigService_SetSomeClient interface {
	Recv() (*OAuthConfigSetSomeResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_SetSomeServer

type OAuthConfigService_SetSomeServer interface {
	Send(*OAuthConfigSetSomeResponse) error
	grpc.ServerStream
}

type OAuthConfigService_SubscribeBatchedClient

type OAuthConfigService_SubscribeBatchedClient interface {
	Recv() (*OAuthConfigBatchedStreamResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_SubscribeBatchedServer

type OAuthConfigService_SubscribeBatchedServer interface {
	Send(*OAuthConfigBatchedStreamResponse) error
	grpc.ServerStream
}

type OAuthConfigService_SubscribeClient

type OAuthConfigService_SubscribeClient interface {
	Recv() (*OAuthConfigStreamResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_SubscribeMetaClient

type OAuthConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type OAuthConfigService_SubscribeMetaServer

type OAuthConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type OAuthConfigService_SubscribeServer

type OAuthConfigService_SubscribeServer interface {
	Send(*OAuthConfigStreamResponse) error
	grpc.ServerStream
}

type OAuthConfigSetRequest

type OAuthConfigSetRequest struct {

	// OAuthConfig carries the value to set into the datastore.
	// See the documentation on the OAuthConfig struct for which fields are required.
	Value *OAuthConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSetRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigSetRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigSetRequest) GetValue

func (x *OAuthConfigSetRequest) GetValue() *OAuthConfig

func (*OAuthConfigSetRequest) ProtoMessage

func (*OAuthConfigSetRequest) ProtoMessage()

func (*OAuthConfigSetRequest) ProtoReflect

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

func (*OAuthConfigSetRequest) Reset

func (x *OAuthConfigSetRequest) Reset()

func (*OAuthConfigSetRequest) String

func (x *OAuthConfigSetRequest) String() string

type OAuthConfigSetResponse

type OAuthConfigSetResponse struct {

	// Value carries all the values given in the OAuthConfigSetRequest as well
	// as any server-generated values.
	Value *OAuthConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//   - it is after the time the request was received
	//   - a time-ranged query with StartTime==CreatedAt will include this instance.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSetResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigSetResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigSetResponse) GetTime

func (*OAuthConfigSetResponse) GetValue

func (x *OAuthConfigSetResponse) GetValue() *OAuthConfig

func (*OAuthConfigSetResponse) ProtoMessage

func (*OAuthConfigSetResponse) ProtoMessage()

func (*OAuthConfigSetResponse) ProtoReflect

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

func (*OAuthConfigSetResponse) Reset

func (x *OAuthConfigSetResponse) Reset()

func (*OAuthConfigSetResponse) String

func (x *OAuthConfigSetResponse) String() string

type OAuthConfigSetSomeRequest

type OAuthConfigSetSomeRequest struct {

	// value contains a list of OAuthConfig values to write.
	// It is possible to provide more values than can fit within either:
	//   - the maxiumum send size of the client
	//   - the maximum receive size of the server
	//
	// If this error occurs you must reduce the number of values sent.
	// See gRPC "maximum message size" documentation for more information.
	Values []*OAuthConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSetSomeRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigSetSomeRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigSetSomeRequest) GetValues

func (x *OAuthConfigSetSomeRequest) GetValues() []*OAuthConfig

func (*OAuthConfigSetSomeRequest) ProtoMessage

func (*OAuthConfigSetSomeRequest) ProtoMessage()

func (*OAuthConfigSetSomeRequest) ProtoReflect

func (*OAuthConfigSetSomeRequest) Reset

func (x *OAuthConfigSetSomeRequest) Reset()

func (*OAuthConfigSetSomeRequest) String

func (x *OAuthConfigSetSomeRequest) String() string

type OAuthConfigSetSomeResponse

type OAuthConfigSetSomeResponse struct {
	Key   *OAuthKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string    `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSetSomeResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigSetSomeResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigSetSomeResponse) GetError

func (x *OAuthConfigSetSomeResponse) GetError() string

func (*OAuthConfigSetSomeResponse) GetKey

func (x *OAuthConfigSetSomeResponse) GetKey() *OAuthKey

func (*OAuthConfigSetSomeResponse) ProtoMessage

func (*OAuthConfigSetSomeResponse) ProtoMessage()

func (*OAuthConfigSetSomeResponse) ProtoReflect

func (*OAuthConfigSetSomeResponse) Reset

func (x *OAuthConfigSetSomeResponse) Reset()

func (*OAuthConfigSetSomeResponse) String

func (x *OAuthConfigSetSomeResponse) String() string

type OAuthConfigSomeRequest

type OAuthConfigSomeRequest struct {
	Keys []*OAuthKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSomeRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigSomeRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigSomeRequest) GetKeys

func (x *OAuthConfigSomeRequest) GetKeys() []*OAuthKey

func (*OAuthConfigSomeRequest) GetTime

func (*OAuthConfigSomeRequest) ProtoMessage

func (*OAuthConfigSomeRequest) ProtoMessage()

func (*OAuthConfigSomeRequest) ProtoReflect

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

func (*OAuthConfigSomeRequest) Reset

func (x *OAuthConfigSomeRequest) Reset()

func (*OAuthConfigSomeRequest) String

func (x *OAuthConfigSomeRequest) String() string

type OAuthConfigSomeResponse

type OAuthConfigSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *OAuthConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigSomeResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigSomeResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigSomeResponse) GetError

func (*OAuthConfigSomeResponse) GetTime

func (*OAuthConfigSomeResponse) GetValue

func (x *OAuthConfigSomeResponse) GetValue() *OAuthConfig

func (*OAuthConfigSomeResponse) ProtoMessage

func (*OAuthConfigSomeResponse) ProtoMessage()

func (*OAuthConfigSomeResponse) ProtoReflect

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

func (*OAuthConfigSomeResponse) Reset

func (x *OAuthConfigSomeResponse) Reset()

func (*OAuthConfigSomeResponse) String

func (x *OAuthConfigSomeResponse) String() string

type OAuthConfigStreamRequest

type OAuthConfigStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*OAuthConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   - end: Returns the state of each OAuthConfig at end.
	//   - Each OAuthConfig response is fully-specified (all fields set).
	//   - start: Returns the state of each OAuthConfig at start, followed by updates until now.
	//   - Each OAuthConfig response at start is fully-specified, but updates may be partial.
	//   - start and end: Returns the state of each OAuthConfig at start, followed by updates
	//     until end.
	//   - Each OAuthConfig response at start is fully-specified, but updates until end may
	//     be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use OAuthConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*OAuthConfigStreamRequest) GetPartialEqFilter

func (x *OAuthConfigStreamRequest) GetPartialEqFilter() []*OAuthConfig

func (*OAuthConfigStreamRequest) GetTime

func (*OAuthConfigStreamRequest) ProtoMessage

func (*OAuthConfigStreamRequest) ProtoMessage()

func (*OAuthConfigStreamRequest) ProtoReflect

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

func (*OAuthConfigStreamRequest) Reset

func (x *OAuthConfigStreamRequest) Reset()

func (*OAuthConfigStreamRequest) String

func (x *OAuthConfigStreamRequest) String() string

type OAuthConfigStreamResponse

type OAuthConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *OAuthConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this OAuthConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the OAuthConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*OAuthConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use OAuthConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*OAuthConfigStreamResponse) GetTime

func (*OAuthConfigStreamResponse) GetType

func (*OAuthConfigStreamResponse) GetValue

func (x *OAuthConfigStreamResponse) GetValue() *OAuthConfig

func (*OAuthConfigStreamResponse) ProtoMessage

func (*OAuthConfigStreamResponse) ProtoMessage()

func (*OAuthConfigStreamResponse) ProtoReflect

func (*OAuthConfigStreamResponse) Reset

func (x *OAuthConfigStreamResponse) Reset()

func (*OAuthConfigStreamResponse) String

func (x *OAuthConfigStreamResponse) String() string

type OAuthKey

type OAuthKey struct {

	// provider_id is the ID of the OAuth provider.
	ProviderId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// contains filtered or unexported fields
}

OAuthKey contains OAuth provider ID.

func (*OAuthKey) Descriptor deprecated

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

Deprecated: Use OAuthKey.ProtoReflect.Descriptor instead.

func (*OAuthKey) GetProviderId

func (x *OAuthKey) GetProviderId() *wrapperspb.StringValue

func (*OAuthKey) ProtoMessage

func (*OAuthKey) ProtoMessage()

func (*OAuthKey) ProtoReflect

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

func (*OAuthKey) Reset

func (x *OAuthKey) Reset()

func (*OAuthKey) String

func (x *OAuthKey) String() string

type ProtocolBinding

type ProtocolBinding int32

ProtocolBinding indicates SAML protocol binding to be used.

const (
	// PROTOCOL_BINDING_UNSPECIFIED indicates that a protocol binding is unspecified.
	ProtocolBinding_PROTOCOL_BINDING_UNSPECIFIED ProtocolBinding = 0
	// PROTOCOL_BINDING_HTTP_POST indicates HTTP-POST SAML protocol binding.
	ProtocolBinding_PROTOCOL_BINDING_HTTP_POST ProtocolBinding = 1
	// PROTOCOL_BINDING_HTTP_REDIRECT indicates HTTP-Redirect SAML protocol binding.
	ProtocolBinding_PROTOCOL_BINDING_HTTP_REDIRECT ProtocolBinding = 2
)

func (ProtocolBinding) Descriptor

func (ProtocolBinding) Enum

func (x ProtocolBinding) Enum() *ProtocolBinding

func (ProtocolBinding) EnumDescriptor deprecated

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

Deprecated: Use ProtocolBinding.Descriptor instead.

func (ProtocolBinding) Number

func (ProtocolBinding) String

func (x ProtocolBinding) String() string

func (ProtocolBinding) Type

type SAMLConfig

type SAMLConfig struct {

	// key is the ID of the SAML provider.
	Key *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// idp_issuer identifies the SAML provider. There is no restriction on its format
	// other than a string to carry the issuer's name.
	IdpIssuer *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=idp_issuer,json=idpIssuer,proto3" json:"idp_issuer,omitempty"`
	// idp_metadata_url is the URL that CloudVision uses to fetch the
	// SAML provider metadata.
	IdpMetadataUrl *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=idp_metadata_url,json=idpMetadataUrl,proto3" json:"idp_metadata_url,omitempty"`
	// authreq_binding specifies the ProtocolBinding used to send SAML authentication
	// request to the SAML provider.
	AuthreqBinding ProtocolBinding `` /* 152-byte string literal not displayed */
	// email_attrname specifies the Attribute name for email ID in Assertion of SAMLResponse
	// from the SAML provider.
	EmailAttrname *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=email_attrname,json=emailAttrname,proto3" json:"email_attrname,omitempty"`
	// link_to_shared_provider indicates whether or not use the provider as a shared
	// provider. This is an optional field and set to false by default.
	LinkToSharedProvider *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=link_to_shared_provider,json=linkToSharedProvider,proto3" json:"link_to_shared_provider,omitempty"`
	// permitted_email_domains are domains of emails that users are allowed to use.
	// This is an optional field. If not set, all domains are accepted by default.
	PermittedEmailDomains *fmp.RepeatedString `` /* 126-byte string literal not displayed */
	// force_saml_authn indicates wether or not enable force authentication in SAML login.
	// This is an optional field. If not set, it defaults to false.
	ForceSamlAuthn *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=force_saml_authn,json=forceSamlAuthn,proto3" json:"force_saml_authn,omitempty"`
	// roles_attrname specifies the Attribute name for CloudVision roles in the Assertion
	// of SAMLResponse. This is an optional field. If not set, CloudVision determines that
	// mapping roles from the provider is disabled.
	RolesAttrname *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=roles_attrname,json=rolesAttrname,proto3" json:"roles_attrname,omitempty"`
	// org_attrname specifies the Attribute name for CloudVision organization/tenant in
	// the Assertion of SAMLResponse. This is an optional field. CloudVision supports use
	// of certain shared SAML Identity Providers for authenticating users across multiple
	// CloudVision organizations/tenants. In case a given organization uses a shared provider,
	// then, CloudVision needs this attribute to determine if the organization that
	// the shared SAML Identity Provider is sending the assertion for is the same as the
	// one the user requested to be logged into. For an existing user on CloudVision,
	// the user's email is used to determine which organization the user belongs to do
	// the same verification but in case a dynamic user creation is needed and the given
	// user doesn't exist on CloudVision currently then the matching organization attribute
	// from the shared Identity Privder becomes necessary. Dynamic user creation is
	// disabled for a given organization using shared Identity Provider if this attribute
	// is not specified.
	OrgAttrname *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=org_attrname,json=orgAttrname,proto3" json:"org_attrname,omitempty"`
	// username_attrname specifies Attribute name for CloudVision users' username in the
	// Assertion of SAMLResponse. This is an optional field as long as mapping roles from
	// provider is not enabled. Once enabled, this field becomes mandatory.
	UsernameAttrname *wrapperspb.StringValue `protobuf:"bytes,11,opt,name=username_attrname,json=usernameAttrname,proto3" json:"username_attrname,omitempty"`
	// contains filtered or unexported fields
}

SAMLConfig holds the configuration for a SAML provider.

func (*SAMLConfig) Descriptor deprecated

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

Deprecated: Use SAMLConfig.ProtoReflect.Descriptor instead.

func (*SAMLConfig) GetAuthreqBinding

func (x *SAMLConfig) GetAuthreqBinding() ProtocolBinding

func (*SAMLConfig) GetEmailAttrname

func (x *SAMLConfig) GetEmailAttrname() *wrapperspb.StringValue

func (*SAMLConfig) GetForceSamlAuthn

func (x *SAMLConfig) GetForceSamlAuthn() *wrapperspb.BoolValue

func (*SAMLConfig) GetIdpIssuer

func (x *SAMLConfig) GetIdpIssuer() *wrapperspb.StringValue

func (*SAMLConfig) GetIdpMetadataUrl

func (x *SAMLConfig) GetIdpMetadataUrl() *wrapperspb.StringValue

func (*SAMLConfig) GetKey

func (x *SAMLConfig) GetKey() *SAMLKey

func (*SAMLConfig) GetLinkToSharedProvider

func (x *SAMLConfig) GetLinkToSharedProvider() *wrapperspb.BoolValue

func (*SAMLConfig) GetOrgAttrname

func (x *SAMLConfig) GetOrgAttrname() *wrapperspb.StringValue

func (*SAMLConfig) GetPermittedEmailDomains

func (x *SAMLConfig) GetPermittedEmailDomains() *fmp.RepeatedString

func (*SAMLConfig) GetRolesAttrname

func (x *SAMLConfig) GetRolesAttrname() *wrapperspb.StringValue

func (*SAMLConfig) GetUsernameAttrname

func (x *SAMLConfig) GetUsernameAttrname() *wrapperspb.StringValue

func (*SAMLConfig) ProtoMessage

func (*SAMLConfig) ProtoMessage()

func (*SAMLConfig) ProtoReflect

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

func (*SAMLConfig) Reset

func (x *SAMLConfig) Reset()

func (*SAMLConfig) String

func (x *SAMLConfig) String() string

type SAMLConfigBatchedStreamRequest

type SAMLConfigBatchedStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*SAMLConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   - end: Returns the state of each SAMLConfig at end.
	//   - Each SAMLConfig response is fully-specified (all fields set).
	//   - start: Returns the state of each SAMLConfig at start, followed by updates until now.
	//   - Each SAMLConfig response at start is fully-specified, but updates may be partial.
	//   - start and end: Returns the state of each SAMLConfig at start, followed by updates
	//     until end.
	//   - Each SAMLConfig response at start is fully-specified, but updates until end may
	//     be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// MaxMessages limits the maximum number of messages that can be contained in one batch.
	// MaxMessages is required to be at least 1.
	// The maximum number of messages in a batch is min(max_messages, INTERNAL_BATCH_LIMIT)
	// INTERNAL_BATCH_LIMIT is set based on the maximum message size.
	MaxMessages *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=max_messages,json=maxMessages,proto3" json:"max_messages,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigBatchedStreamRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigBatchedStreamRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigBatchedStreamRequest) GetMaxMessages

func (*SAMLConfigBatchedStreamRequest) GetPartialEqFilter

func (x *SAMLConfigBatchedStreamRequest) GetPartialEqFilter() []*SAMLConfig

func (*SAMLConfigBatchedStreamRequest) GetTime

func (*SAMLConfigBatchedStreamRequest) ProtoMessage

func (*SAMLConfigBatchedStreamRequest) ProtoMessage()

func (*SAMLConfigBatchedStreamRequest) ProtoReflect

func (*SAMLConfigBatchedStreamRequest) Reset

func (x *SAMLConfigBatchedStreamRequest) Reset()

func (*SAMLConfigBatchedStreamRequest) String

type SAMLConfigBatchedStreamResponse

type SAMLConfigBatchedStreamResponse struct {

	// Values are the values deemed relevant to the initiating request.
	// The length of this structure is guaranteed to be between (inclusive) 1 and
	// min(req.max_messages, INTERNAL_BATCH_LIMIT).
	Responses []*SAMLConfigStreamResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigBatchedStreamResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigBatchedStreamResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigBatchedStreamResponse) GetResponses

func (*SAMLConfigBatchedStreamResponse) ProtoMessage

func (*SAMLConfigBatchedStreamResponse) ProtoMessage()

func (*SAMLConfigBatchedStreamResponse) ProtoReflect

func (*SAMLConfigBatchedStreamResponse) Reset

func (*SAMLConfigBatchedStreamResponse) String

type SAMLConfigDeleteAllRequest

type SAMLConfigDeleteAllRequest struct {

	// PartialEqFilter provides a way to server-side filter a DeleteAll.
	// This requires all provided fields to be equal to the response.
	// A filtered DeleteAll will use GetAll with filter to find things to delete.
	PartialEqFilter []*SAMLConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigDeleteAllRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteAllRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteAllRequest) GetPartialEqFilter

func (x *SAMLConfigDeleteAllRequest) GetPartialEqFilter() []*SAMLConfig

func (*SAMLConfigDeleteAllRequest) ProtoMessage

func (*SAMLConfigDeleteAllRequest) ProtoMessage()

func (*SAMLConfigDeleteAllRequest) ProtoReflect

func (*SAMLConfigDeleteAllRequest) Reset

func (x *SAMLConfigDeleteAllRequest) Reset()

func (*SAMLConfigDeleteAllRequest) String

func (x *SAMLConfigDeleteAllRequest) String() string

type SAMLConfigDeleteAllResponse

type SAMLConfigDeleteAllResponse struct {

	// This describes the class of delete error.
	// A DeleteAllResponse is only sent when there is an error.
	Type fmp.DeleteError `protobuf:"varint,1,opt,name=type,proto3,enum=fmp.DeleteError" json:"type,omitempty"`
	// This indicates the error message from the delete failure.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// This is the key of the SAMLConfig instance that failed to be deleted.
	Key *SAMLKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp when the key was being deleted.
	Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigDeleteAllResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteAllResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteAllResponse) GetError

func (*SAMLConfigDeleteAllResponse) GetKey

func (x *SAMLConfigDeleteAllResponse) GetKey() *SAMLKey

func (*SAMLConfigDeleteAllResponse) GetTime

func (*SAMLConfigDeleteAllResponse) GetType

func (*SAMLConfigDeleteAllResponse) ProtoMessage

func (*SAMLConfigDeleteAllResponse) ProtoMessage()

func (*SAMLConfigDeleteAllResponse) ProtoReflect

func (*SAMLConfigDeleteAllResponse) Reset

func (x *SAMLConfigDeleteAllResponse) Reset()

func (*SAMLConfigDeleteAllResponse) String

func (x *SAMLConfigDeleteAllResponse) String() string

type SAMLConfigDeleteRequest

type SAMLConfigDeleteRequest struct {

	// Key indicates which SAMLConfig instance to remove.
	// This field must always be set.
	Key *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigDeleteRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteRequest) GetKey

func (x *SAMLConfigDeleteRequest) GetKey() *SAMLKey

func (*SAMLConfigDeleteRequest) ProtoMessage

func (*SAMLConfigDeleteRequest) ProtoMessage()

func (*SAMLConfigDeleteRequest) ProtoReflect

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

func (*SAMLConfigDeleteRequest) Reset

func (x *SAMLConfigDeleteRequest) Reset()

func (*SAMLConfigDeleteRequest) String

func (x *SAMLConfigDeleteRequest) String() string

type SAMLConfigDeleteResponse

type SAMLConfigDeleteResponse struct {

	// Key echoes back the key of the deleted SAMLConfig instance.
	Key *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// deletion. The only guarantees made about this timestamp are:
	//
	//   - it is after the time the request was received
	//   - a time-ranged query with StartTime==DeletedAt will not include this instance.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigDeleteResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteResponse) GetKey

func (x *SAMLConfigDeleteResponse) GetKey() *SAMLKey

func (*SAMLConfigDeleteResponse) GetTime

func (*SAMLConfigDeleteResponse) ProtoMessage

func (*SAMLConfigDeleteResponse) ProtoMessage()

func (*SAMLConfigDeleteResponse) ProtoReflect

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

func (*SAMLConfigDeleteResponse) Reset

func (x *SAMLConfigDeleteResponse) Reset()

func (*SAMLConfigDeleteResponse) String

func (x *SAMLConfigDeleteResponse) String() string

type SAMLConfigDeleteSomeRequest

type SAMLConfigDeleteSomeRequest struct {

	// key contains a list of SAMLConfig keys to delete
	Keys []*SAMLKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigDeleteSomeRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteSomeRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteSomeRequest) GetKeys

func (x *SAMLConfigDeleteSomeRequest) GetKeys() []*SAMLKey

func (*SAMLConfigDeleteSomeRequest) ProtoMessage

func (*SAMLConfigDeleteSomeRequest) ProtoMessage()

func (*SAMLConfigDeleteSomeRequest) ProtoReflect

func (*SAMLConfigDeleteSomeRequest) Reset

func (x *SAMLConfigDeleteSomeRequest) Reset()

func (*SAMLConfigDeleteSomeRequest) String

func (x *SAMLConfigDeleteSomeRequest) String() string

type SAMLConfigDeleteSomeResponse

type SAMLConfigDeleteSomeResponse struct {
	Key   *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SAMLConfigDeleteSomeResponse is only sent when there is an error.

func (*SAMLConfigDeleteSomeResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigDeleteSomeResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigDeleteSomeResponse) GetError

func (x *SAMLConfigDeleteSomeResponse) GetError() string

func (*SAMLConfigDeleteSomeResponse) GetKey

func (*SAMLConfigDeleteSomeResponse) ProtoMessage

func (*SAMLConfigDeleteSomeResponse) ProtoMessage()

func (*SAMLConfigDeleteSomeResponse) ProtoReflect

func (*SAMLConfigDeleteSomeResponse) Reset

func (x *SAMLConfigDeleteSomeResponse) Reset()

func (*SAMLConfigDeleteSomeResponse) String

type SAMLConfigRequest

type SAMLConfigRequest struct {

	// Key uniquely identifies a SAMLConfig instance to retrieve.
	// This value must be populated.
	Key *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigRequest) GetKey

func (x *SAMLConfigRequest) GetKey() *SAMLKey

func (*SAMLConfigRequest) GetTime

func (x *SAMLConfigRequest) GetTime() *timestamppb.Timestamp

func (*SAMLConfigRequest) ProtoMessage

func (*SAMLConfigRequest) ProtoMessage()

func (*SAMLConfigRequest) ProtoReflect

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

func (*SAMLConfigRequest) Reset

func (x *SAMLConfigRequest) Reset()

func (*SAMLConfigRequest) String

func (x *SAMLConfigRequest) String() string

type SAMLConfigResponse

type SAMLConfigResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *SAMLConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time carries the (UTC) timestamp of the last-modification of the
	// SAMLConfig instance in this response.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigResponse) GetTime

func (*SAMLConfigResponse) GetValue

func (x *SAMLConfigResponse) GetValue() *SAMLConfig

func (*SAMLConfigResponse) ProtoMessage

func (*SAMLConfigResponse) ProtoMessage()

func (*SAMLConfigResponse) ProtoReflect

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

func (*SAMLConfigResponse) Reset

func (x *SAMLConfigResponse) Reset()

func (*SAMLConfigResponse) String

func (x *SAMLConfigResponse) String() string

type SAMLConfigServiceClient

type SAMLConfigServiceClient interface {
	GetOne(ctx context.Context, in *SAMLConfigRequest, opts ...grpc.CallOption) (*SAMLConfigResponse, error)
	GetSome(ctx context.Context, in *SAMLConfigSomeRequest, opts ...grpc.CallOption) (SAMLConfigService_GetSomeClient, error)
	GetAll(ctx context.Context, in *SAMLConfigStreamRequest, opts ...grpc.CallOption) (SAMLConfigService_GetAllClient, error)
	Subscribe(ctx context.Context, in *SAMLConfigStreamRequest, opts ...grpc.CallOption) (SAMLConfigService_SubscribeClient, error)
	GetMeta(ctx context.Context, in *SAMLConfigStreamRequest, opts ...grpc.CallOption) (*MetaResponse, error)
	SubscribeMeta(ctx context.Context, in *SAMLConfigStreamRequest, opts ...grpc.CallOption) (SAMLConfigService_SubscribeMetaClient, error)
	Set(ctx context.Context, in *SAMLConfigSetRequest, opts ...grpc.CallOption) (*SAMLConfigSetResponse, error)
	SetSome(ctx context.Context, in *SAMLConfigSetSomeRequest, opts ...grpc.CallOption) (SAMLConfigService_SetSomeClient, error)
	Delete(ctx context.Context, in *SAMLConfigDeleteRequest, opts ...grpc.CallOption) (*SAMLConfigDeleteResponse, error)
	DeleteSome(ctx context.Context, in *SAMLConfigDeleteSomeRequest, opts ...grpc.CallOption) (SAMLConfigService_DeleteSomeClient, error)
	DeleteAll(ctx context.Context, in *SAMLConfigDeleteAllRequest, opts ...grpc.CallOption) (SAMLConfigService_DeleteAllClient, error)
	GetAllBatched(ctx context.Context, in *SAMLConfigBatchedStreamRequest, opts ...grpc.CallOption) (SAMLConfigService_GetAllBatchedClient, error)
	SubscribeBatched(ctx context.Context, in *SAMLConfigBatchedStreamRequest, opts ...grpc.CallOption) (SAMLConfigService_SubscribeBatchedClient, error)
}

SAMLConfigServiceClient is the client API for SAMLConfigService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type SAMLConfigService_DeleteAllClient

type SAMLConfigService_DeleteAllClient interface {
	Recv() (*SAMLConfigDeleteAllResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_DeleteAllServer

type SAMLConfigService_DeleteAllServer interface {
	Send(*SAMLConfigDeleteAllResponse) error
	grpc.ServerStream
}

type SAMLConfigService_DeleteSomeClient

type SAMLConfigService_DeleteSomeClient interface {
	Recv() (*SAMLConfigDeleteSomeResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_DeleteSomeServer

type SAMLConfigService_DeleteSomeServer interface {
	Send(*SAMLConfigDeleteSomeResponse) error
	grpc.ServerStream
}

type SAMLConfigService_GetAllBatchedClient

type SAMLConfigService_GetAllBatchedClient interface {
	Recv() (*SAMLConfigBatchedStreamResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_GetAllBatchedServer

type SAMLConfigService_GetAllBatchedServer interface {
	Send(*SAMLConfigBatchedStreamResponse) error
	grpc.ServerStream
}

type SAMLConfigService_GetAllClient

type SAMLConfigService_GetAllClient interface {
	Recv() (*SAMLConfigStreamResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_GetAllServer

type SAMLConfigService_GetAllServer interface {
	Send(*SAMLConfigStreamResponse) error
	grpc.ServerStream
}

type SAMLConfigService_GetSomeClient

type SAMLConfigService_GetSomeClient interface {
	Recv() (*SAMLConfigSomeResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_GetSomeServer

type SAMLConfigService_GetSomeServer interface {
	Send(*SAMLConfigSomeResponse) error
	grpc.ServerStream
}

type SAMLConfigService_SetSomeClient

type SAMLConfigService_SetSomeClient interface {
	Recv() (*SAMLConfigSetSomeResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_SetSomeServer

type SAMLConfigService_SetSomeServer interface {
	Send(*SAMLConfigSetSomeResponse) error
	grpc.ServerStream
}

type SAMLConfigService_SubscribeBatchedClient

type SAMLConfigService_SubscribeBatchedClient interface {
	Recv() (*SAMLConfigBatchedStreamResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_SubscribeBatchedServer

type SAMLConfigService_SubscribeBatchedServer interface {
	Send(*SAMLConfigBatchedStreamResponse) error
	grpc.ServerStream
}

type SAMLConfigService_SubscribeClient

type SAMLConfigService_SubscribeClient interface {
	Recv() (*SAMLConfigStreamResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_SubscribeMetaClient

type SAMLConfigService_SubscribeMetaClient interface {
	Recv() (*MetaResponse, error)
	grpc.ClientStream
}

type SAMLConfigService_SubscribeMetaServer

type SAMLConfigService_SubscribeMetaServer interface {
	Send(*MetaResponse) error
	grpc.ServerStream
}

type SAMLConfigService_SubscribeServer

type SAMLConfigService_SubscribeServer interface {
	Send(*SAMLConfigStreamResponse) error
	grpc.ServerStream
}

type SAMLConfigSetRequest

type SAMLConfigSetRequest struct {

	// SAMLConfig carries the value to set into the datastore.
	// See the documentation on the SAMLConfig struct for which fields are required.
	Value *SAMLConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSetRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigSetRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigSetRequest) GetValue

func (x *SAMLConfigSetRequest) GetValue() *SAMLConfig

func (*SAMLConfigSetRequest) ProtoMessage

func (*SAMLConfigSetRequest) ProtoMessage()

func (*SAMLConfigSetRequest) ProtoReflect

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

func (*SAMLConfigSetRequest) Reset

func (x *SAMLConfigSetRequest) Reset()

func (*SAMLConfigSetRequest) String

func (x *SAMLConfigSetRequest) String() string

type SAMLConfigSetResponse

type SAMLConfigSetResponse struct {

	// Value carries all the values given in the SAMLConfigSetRequest as well
	// as any server-generated values.
	Value *SAMLConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time indicates the (UTC) timestamp at which the system recognizes the
	// creation. The only guarantees made about this timestamp are:
	//
	//   - it is after the time the request was received
	//   - a time-ranged query with StartTime==CreatedAt will include this instance.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSetResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigSetResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigSetResponse) GetTime

func (*SAMLConfigSetResponse) GetValue

func (x *SAMLConfigSetResponse) GetValue() *SAMLConfig

func (*SAMLConfigSetResponse) ProtoMessage

func (*SAMLConfigSetResponse) ProtoMessage()

func (*SAMLConfigSetResponse) ProtoReflect

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

func (*SAMLConfigSetResponse) Reset

func (x *SAMLConfigSetResponse) Reset()

func (*SAMLConfigSetResponse) String

func (x *SAMLConfigSetResponse) String() string

type SAMLConfigSetSomeRequest

type SAMLConfigSetSomeRequest struct {

	// value contains a list of SAMLConfig values to write.
	// It is possible to provide more values than can fit within either:
	//   - the maxiumum send size of the client
	//   - the maximum receive size of the server
	//
	// If this error occurs you must reduce the number of values sent.
	// See gRPC "maximum message size" documentation for more information.
	Values []*SAMLConfig `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSetSomeRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigSetSomeRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigSetSomeRequest) GetValues

func (x *SAMLConfigSetSomeRequest) GetValues() []*SAMLConfig

func (*SAMLConfigSetSomeRequest) ProtoMessage

func (*SAMLConfigSetSomeRequest) ProtoMessage()

func (*SAMLConfigSetSomeRequest) ProtoReflect

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

func (*SAMLConfigSetSomeRequest) Reset

func (x *SAMLConfigSetSomeRequest) Reset()

func (*SAMLConfigSetSomeRequest) String

func (x *SAMLConfigSetSomeRequest) String() string

type SAMLConfigSetSomeResponse

type SAMLConfigSetSomeResponse struct {
	Key   *SAMLKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Error string   `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSetSomeResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigSetSomeResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigSetSomeResponse) GetError

func (x *SAMLConfigSetSomeResponse) GetError() string

func (*SAMLConfigSetSomeResponse) GetKey

func (x *SAMLConfigSetSomeResponse) GetKey() *SAMLKey

func (*SAMLConfigSetSomeResponse) ProtoMessage

func (*SAMLConfigSetSomeResponse) ProtoMessage()

func (*SAMLConfigSetSomeResponse) ProtoReflect

func (*SAMLConfigSetSomeResponse) Reset

func (x *SAMLConfigSetSomeResponse) Reset()

func (*SAMLConfigSetSomeResponse) String

func (x *SAMLConfigSetSomeResponse) String() string

type SAMLConfigSomeRequest

type SAMLConfigSomeRequest struct {
	Keys []*SAMLKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// Time indicates the time for which you are interested in the data.
	// If no time is given, the server will use the time at which it makes the request.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSomeRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigSomeRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigSomeRequest) GetKeys

func (x *SAMLConfigSomeRequest) GetKeys() []*SAMLKey

func (*SAMLConfigSomeRequest) GetTime

func (*SAMLConfigSomeRequest) ProtoMessage

func (*SAMLConfigSomeRequest) ProtoMessage()

func (*SAMLConfigSomeRequest) ProtoReflect

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

func (*SAMLConfigSomeRequest) Reset

func (x *SAMLConfigSomeRequest) Reset()

func (*SAMLConfigSomeRequest) String

func (x *SAMLConfigSomeRequest) String() string

type SAMLConfigSomeResponse

type SAMLConfigSomeResponse struct {

	// Value is the value requested.
	// This structure will be fully-populated as it exists in the datastore. If
	// optional fields were not given at creation, these fields will be empty or
	// set to default values.
	Value *SAMLConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Error is an optional field.
	// It should be filled when there is an error in the GetSome process.
	Error *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Time  *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigSomeResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigSomeResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigSomeResponse) GetError

func (*SAMLConfigSomeResponse) GetTime

func (*SAMLConfigSomeResponse) GetValue

func (x *SAMLConfigSomeResponse) GetValue() *SAMLConfig

func (*SAMLConfigSomeResponse) ProtoMessage

func (*SAMLConfigSomeResponse) ProtoMessage()

func (*SAMLConfigSomeResponse) ProtoReflect

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

func (*SAMLConfigSomeResponse) Reset

func (x *SAMLConfigSomeResponse) Reset()

func (*SAMLConfigSomeResponse) String

func (x *SAMLConfigSomeResponse) String() string

type SAMLConfigStreamRequest

type SAMLConfigStreamRequest struct {

	// PartialEqFilter provides a way to server-side filter a GetAll/Subscribe.
	// This requires all provided fields to be equal to the response.
	//
	// While transparent to users, this field also allows services to optimize internal
	// subscriptions if filter(s) are sufficiently specific.
	PartialEqFilter []*SAMLConfig `protobuf:"bytes,1,rep,name=partial_eq_filter,json=partialEqFilter,proto3" json:"partial_eq_filter,omitempty"`
	// TimeRange allows limiting response data to within a specified time window.
	// If this field is populated, at least one of the two time fields are required.
	//
	// For GetAll, the fields start and end can be used as follows:
	//
	//   - end: Returns the state of each SAMLConfig at end.
	//   - Each SAMLConfig response is fully-specified (all fields set).
	//   - start: Returns the state of each SAMLConfig at start, followed by updates until now.
	//   - Each SAMLConfig response at start is fully-specified, but updates may be partial.
	//   - start and end: Returns the state of each SAMLConfig at start, followed by updates
	//     until end.
	//   - Each SAMLConfig response at start is fully-specified, but updates until end may
	//     be partial.
	//
	// This field is not allowed in the Subscribe RPC.
	Time *time.TimeBounds `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigStreamRequest) Descriptor deprecated

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

Deprecated: Use SAMLConfigStreamRequest.ProtoReflect.Descriptor instead.

func (*SAMLConfigStreamRequest) GetPartialEqFilter

func (x *SAMLConfigStreamRequest) GetPartialEqFilter() []*SAMLConfig

func (*SAMLConfigStreamRequest) GetTime

func (x *SAMLConfigStreamRequest) GetTime() *time.TimeBounds

func (*SAMLConfigStreamRequest) ProtoMessage

func (*SAMLConfigStreamRequest) ProtoMessage()

func (*SAMLConfigStreamRequest) ProtoReflect

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

func (*SAMLConfigStreamRequest) Reset

func (x *SAMLConfigStreamRequest) Reset()

func (*SAMLConfigStreamRequest) String

func (x *SAMLConfigStreamRequest) String() string

type SAMLConfigStreamResponse

type SAMLConfigStreamResponse struct {

	// Value is a value deemed relevant to the initiating request.
	// This structure will always have its key-field populated. Which other fields are
	// populated, and why, depends on the value of Operation and what triggered this notification.
	Value *SAMLConfig `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Time holds the timestamp of this SAMLConfig's last modification.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Operation indicates how the SAMLConfig value in this response should be considered.
	// Under non-subscribe requests, this value should always be INITIAL. In a subscription,
	// once all initial data is streamed and the client begins to receive modification updates,
	// you should not see INITIAL again.
	Type subscriptions.Operation `protobuf:"varint,3,opt,name=type,proto3,enum=arista.subscriptions.Operation" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*SAMLConfigStreamResponse) Descriptor deprecated

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

Deprecated: Use SAMLConfigStreamResponse.ProtoReflect.Descriptor instead.

func (*SAMLConfigStreamResponse) GetTime

func (*SAMLConfigStreamResponse) GetType

func (*SAMLConfigStreamResponse) GetValue

func (x *SAMLConfigStreamResponse) GetValue() *SAMLConfig

func (*SAMLConfigStreamResponse) ProtoMessage

func (*SAMLConfigStreamResponse) ProtoMessage()

func (*SAMLConfigStreamResponse) ProtoReflect

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

func (*SAMLConfigStreamResponse) Reset

func (x *SAMLConfigStreamResponse) Reset()

func (*SAMLConfigStreamResponse) String

func (x *SAMLConfigStreamResponse) String() string

type SAMLKey

type SAMLKey struct {

	// provider_id is the ID of the SAML provider.
	ProviderId *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id,omitempty"`
	// contains filtered or unexported fields
}

SAMLKey contains SAML Provider ID.

func (*SAMLKey) Descriptor deprecated

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

Deprecated: Use SAMLKey.ProtoReflect.Descriptor instead.

func (*SAMLKey) GetProviderId

func (x *SAMLKey) GetProviderId() *wrapperspb.StringValue

func (*SAMLKey) ProtoMessage

func (*SAMLKey) ProtoMessage()

func (*SAMLKey) ProtoReflect

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

func (*SAMLKey) Reset

func (x *SAMLKey) Reset()

func (*SAMLKey) String

func (x *SAMLKey) String() string

type UnimplementedOAuthConfigServiceServer

type UnimplementedOAuthConfigServiceServer struct {
}

UnimplementedOAuthConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOAuthConfigServiceServer) GetMeta

func (UnimplementedOAuthConfigServiceServer) GetOne

func (UnimplementedOAuthConfigServiceServer) GetSome

func (UnimplementedOAuthConfigServiceServer) Set

type UnimplementedSAMLConfigServiceServer

type UnimplementedSAMLConfigServiceServer struct {
}

UnimplementedSAMLConfigServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedSAMLConfigServiceServer) Delete

func (UnimplementedSAMLConfigServiceServer) GetAll

func (UnimplementedSAMLConfigServiceServer) GetMeta

func (UnimplementedSAMLConfigServiceServer) GetOne

func (UnimplementedSAMLConfigServiceServer) GetSome

func (UnimplementedSAMLConfigServiceServer) Set

type UnsafeOAuthConfigServiceServer

type UnsafeOAuthConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOAuthConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OAuthConfigServiceServer will result in compilation errors.

type UnsafeSAMLConfigServiceServer

type UnsafeSAMLConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSAMLConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SAMLConfigServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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