v1

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SourceType_name = map[int32]string{
		0: "INFRA",
		1: "OKTA",
	}
	SourceType_value = map[string]int32{
		"INFRA": 0,
		"OKTA":  1,
	}
)

Enum value maps for SourceType.

View Source
var (
	DestinationType_name = map[int32]string{
		0: "KUBERNETES",
	}
	DestinationType_value = map[string]int32{
		"KUBERNETES": 0,
	}
)

Enum value maps for DestinationType.

View Source
var V1_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "v1.V1",
	HandlerType: (*V1Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListUsers",
			Handler:    _V1_ListUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _V1_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _V1_DeleteUser_Handler,
		},
		{
			MethodName: "ListDestinations",
			Handler:    _V1_ListDestinations_Handler,
		},
		{
			MethodName: "CreateDestination",
			Handler:    _V1_CreateDestination_Handler,
		},
		{
			MethodName: "ListSources",
			Handler:    _V1_ListSources_Handler,
		},
		{
			MethodName: "CreateSource",
			Handler:    _V1_CreateSource_Handler,
		},
		{
			MethodName: "DeleteSource",
			Handler:    _V1_DeleteSource_Handler,
		},
		{
			MethodName: "ListPermissions",
			Handler:    _V1_ListPermissions_Handler,
		},
		{
			MethodName: "CreateCred",
			Handler:    _V1_CreateCred_Handler,
		},
		{
			MethodName: "ListApiKeys",
			Handler:    _V1_ListApiKeys_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _V1_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _V1_Logout_Handler,
		},
		{
			MethodName: "Signup",
			Handler:    _V1_Signup_Handler,
		},
		{
			MethodName: "Status",
			Handler:    _V1_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "v1.proto",
}

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

Functions

func RegisterV1Server

func RegisterV1Server(s grpc.ServiceRegistrar, srv V1Server)

Types

type ApiKey

type ApiKey struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated int64  `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Name    string `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
	Key     string `protobuf:"bytes,50,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKey) Descriptor deprecated

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

Deprecated: Use ApiKey.ProtoReflect.Descriptor instead.

func (*ApiKey) GetCreated

func (x *ApiKey) GetCreated() int64

func (*ApiKey) GetId

func (x *ApiKey) GetId() string

func (*ApiKey) GetKey

func (x *ApiKey) GetKey() string

func (*ApiKey) GetName

func (x *ApiKey) GetName() string

func (*ApiKey) GetUpdated

func (x *ApiKey) GetUpdated() int64

func (*ApiKey) ProtoMessage

func (*ApiKey) ProtoMessage()

func (*ApiKey) ProtoReflect

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

func (*ApiKey) Reset

func (x *ApiKey) Reset()

func (*ApiKey) String

func (x *ApiKey) String() string

func (*ApiKey) Validate

func (m *ApiKey) Validate() error

Validate checks the field values on ApiKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ApiKeyValidationError

type ApiKeyValidationError struct {
	// contains filtered or unexported fields
}

ApiKeyValidationError is the validation error returned by ApiKey.Validate if the designated constraints aren't met.

func (ApiKeyValidationError) Cause

func (e ApiKeyValidationError) Cause() error

Cause function returns cause value.

func (ApiKeyValidationError) Error

func (e ApiKeyValidationError) Error() string

Error satisfies the builtin error interface

func (ApiKeyValidationError) ErrorName

func (e ApiKeyValidationError) ErrorName() string

ErrorName returns error name.

func (ApiKeyValidationError) Field

func (e ApiKeyValidationError) Field() string

Field function returns field value.

func (ApiKeyValidationError) Key

func (e ApiKeyValidationError) Key() bool

Key function returns key value.

func (ApiKeyValidationError) Reason

func (e ApiKeyValidationError) Reason() string

Reason function returns reason value.

type CreateCredResponse

type CreateCredResponse struct {
	Token   string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"`
	Expires int64  `protobuf:"varint,20,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCredResponse) Descriptor deprecated

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

Deprecated: Use CreateCredResponse.ProtoReflect.Descriptor instead.

func (*CreateCredResponse) GetExpires

func (x *CreateCredResponse) GetExpires() int64

func (*CreateCredResponse) GetToken

func (x *CreateCredResponse) GetToken() string

func (*CreateCredResponse) ProtoMessage

func (*CreateCredResponse) ProtoMessage()

func (*CreateCredResponse) ProtoReflect

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

func (*CreateCredResponse) Reset

func (x *CreateCredResponse) Reset()

func (*CreateCredResponse) String

func (x *CreateCredResponse) String() string

func (*CreateCredResponse) Validate

func (m *CreateCredResponse) Validate() error

Validate checks the field values on CreateCredResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateCredResponseValidationError

type CreateCredResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateCredResponseValidationError is the validation error returned by CreateCredResponse.Validate if the designated constraints aren't met.

func (CreateCredResponseValidationError) Cause

Cause function returns cause value.

func (CreateCredResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateCredResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateCredResponseValidationError) Field

Field function returns field value.

func (CreateCredResponseValidationError) Key

Key function returns key value.

func (CreateCredResponseValidationError) Reason

Reason function returns reason value.

type CreateDestinationRequest

type CreateDestinationRequest struct {
	Name       string                               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type       DestinationType                      `protobuf:"varint,20,opt,name=type,proto3,enum=v1.DestinationType" json:"type,omitempty"`
	Kubernetes *CreateDestinationRequest_Kubernetes `protobuf:"bytes,30,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDestinationRequest) Descriptor deprecated

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

Deprecated: Use CreateDestinationRequest.ProtoReflect.Descriptor instead.

func (*CreateDestinationRequest) GetKubernetes

func (*CreateDestinationRequest) GetName

func (x *CreateDestinationRequest) GetName() string

func (*CreateDestinationRequest) GetType

func (*CreateDestinationRequest) ProtoMessage

func (*CreateDestinationRequest) ProtoMessage()

func (*CreateDestinationRequest) ProtoReflect

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

func (*CreateDestinationRequest) Reset

func (x *CreateDestinationRequest) Reset()

func (*CreateDestinationRequest) String

func (x *CreateDestinationRequest) String() string

func (*CreateDestinationRequest) Validate

func (m *CreateDestinationRequest) Validate() error

Validate checks the field values on CreateDestinationRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateDestinationRequestValidationError

type CreateDestinationRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateDestinationRequestValidationError is the validation error returned by CreateDestinationRequest.Validate if the designated constraints aren't met.

func (CreateDestinationRequestValidationError) Cause

Cause function returns cause value.

func (CreateDestinationRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateDestinationRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateDestinationRequestValidationError) Field

Field function returns field value.

func (CreateDestinationRequestValidationError) Key

Key function returns key value.

func (CreateDestinationRequestValidationError) Reason

Reason function returns reason value.

type CreateDestinationRequest_Kubernetes

type CreateDestinationRequest_Kubernetes struct {
	Ca        string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	Endpoint  string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDestinationRequest_Kubernetes) Descriptor deprecated

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

Deprecated: Use CreateDestinationRequest_Kubernetes.ProtoReflect.Descriptor instead.

func (*CreateDestinationRequest_Kubernetes) GetCa

func (*CreateDestinationRequest_Kubernetes) GetEndpoint

func (*CreateDestinationRequest_Kubernetes) GetNamespace added in v0.0.7

func (x *CreateDestinationRequest_Kubernetes) GetNamespace() string

func (*CreateDestinationRequest_Kubernetes) ProtoMessage

func (*CreateDestinationRequest_Kubernetes) ProtoMessage()

func (*CreateDestinationRequest_Kubernetes) ProtoReflect

func (*CreateDestinationRequest_Kubernetes) Reset

func (*CreateDestinationRequest_Kubernetes) String

func (*CreateDestinationRequest_Kubernetes) Validate

Validate checks the field values on CreateDestinationRequest_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateDestinationRequest_KubernetesValidationError

type CreateDestinationRequest_KubernetesValidationError struct {
	// contains filtered or unexported fields
}

CreateDestinationRequest_KubernetesValidationError is the validation error returned by CreateDestinationRequest_Kubernetes.Validate if the designated constraints aren't met.

func (CreateDestinationRequest_KubernetesValidationError) Cause

Cause function returns cause value.

func (CreateDestinationRequest_KubernetesValidationError) Error

Error satisfies the builtin error interface

func (CreateDestinationRequest_KubernetesValidationError) ErrorName

ErrorName returns error name.

func (CreateDestinationRequest_KubernetesValidationError) Field

Field function returns field value.

func (CreateDestinationRequest_KubernetesValidationError) Key

Key function returns key value.

func (CreateDestinationRequest_KubernetesValidationError) Reason

Reason function returns reason value.

type CreateSourceRequest

type CreateSourceRequest struct {
	Type SourceType                `protobuf:"varint,10,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"`
	Okta *CreateSourceRequest_Okta `protobuf:"bytes,20,opt,name=okta,proto3" json:"okta,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSourceRequest) Descriptor deprecated

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

Deprecated: Use CreateSourceRequest.ProtoReflect.Descriptor instead.

func (*CreateSourceRequest) GetOkta

func (*CreateSourceRequest) GetType

func (x *CreateSourceRequest) GetType() SourceType

func (*CreateSourceRequest) ProtoMessage

func (*CreateSourceRequest) ProtoMessage()

func (*CreateSourceRequest) ProtoReflect

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

func (*CreateSourceRequest) Reset

func (x *CreateSourceRequest) Reset()

func (*CreateSourceRequest) String

func (x *CreateSourceRequest) String() string

func (*CreateSourceRequest) Validate

func (m *CreateSourceRequest) Validate() error

Validate checks the field values on CreateSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateSourceRequestValidationError

type CreateSourceRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateSourceRequestValidationError is the validation error returned by CreateSourceRequest.Validate if the designated constraints aren't met.

func (CreateSourceRequestValidationError) Cause

Cause function returns cause value.

func (CreateSourceRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateSourceRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateSourceRequestValidationError) Field

Field function returns field value.

func (CreateSourceRequestValidationError) Key

Key function returns key value.

func (CreateSourceRequestValidationError) Reason

Reason function returns reason value.

type CreateSourceRequest_Okta

type CreateSourceRequest_Okta struct {
	Domain       string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	ApiToken     string `protobuf:"bytes,4,opt,name=api_token,json=apiToken,proto3" json:"api_token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSourceRequest_Okta) Descriptor deprecated

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

Deprecated: Use CreateSourceRequest_Okta.ProtoReflect.Descriptor instead.

func (*CreateSourceRequest_Okta) GetApiToken

func (x *CreateSourceRequest_Okta) GetApiToken() string

func (*CreateSourceRequest_Okta) GetClientId

func (x *CreateSourceRequest_Okta) GetClientId() string

func (*CreateSourceRequest_Okta) GetClientSecret

func (x *CreateSourceRequest_Okta) GetClientSecret() string

func (*CreateSourceRequest_Okta) GetDomain

func (x *CreateSourceRequest_Okta) GetDomain() string

func (*CreateSourceRequest_Okta) ProtoMessage

func (*CreateSourceRequest_Okta) ProtoMessage()

func (*CreateSourceRequest_Okta) ProtoReflect

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

func (*CreateSourceRequest_Okta) Reset

func (x *CreateSourceRequest_Okta) Reset()

func (*CreateSourceRequest_Okta) String

func (x *CreateSourceRequest_Okta) String() string

func (*CreateSourceRequest_Okta) Validate

func (m *CreateSourceRequest_Okta) Validate() error

Validate checks the field values on CreateSourceRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateSourceRequest_OktaValidationError

type CreateSourceRequest_OktaValidationError struct {
	// contains filtered or unexported fields
}

CreateSourceRequest_OktaValidationError is the validation error returned by CreateSourceRequest_Okta.Validate if the designated constraints aren't met.

func (CreateSourceRequest_OktaValidationError) Cause

Cause function returns cause value.

func (CreateSourceRequest_OktaValidationError) Error

Error satisfies the builtin error interface

func (CreateSourceRequest_OktaValidationError) ErrorName

ErrorName returns error name.

func (CreateSourceRequest_OktaValidationError) Field

Field function returns field value.

func (CreateSourceRequest_OktaValidationError) Key

Key function returns key value.

func (CreateSourceRequest_OktaValidationError) Reason

Reason function returns reason value.

type CreateUserRequest

type CreateUserRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

func (*CreateUserRequest) Validate

func (m *CreateUserRequest) Validate() error

Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CreateUserRequestValidationError

type CreateUserRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.

func (CreateUserRequestValidationError) Cause

Cause function returns cause value.

func (CreateUserRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserRequestValidationError) Field

Field function returns field value.

func (CreateUserRequestValidationError) Key

Key function returns key value.

func (CreateUserRequestValidationError) Reason

Reason function returns reason value.

type DeleteSourceRequest

type DeleteSourceRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteSourceRequest) Descriptor deprecated

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

Deprecated: Use DeleteSourceRequest.ProtoReflect.Descriptor instead.

func (*DeleteSourceRequest) GetId

func (x *DeleteSourceRequest) GetId() string

func (*DeleteSourceRequest) ProtoMessage

func (*DeleteSourceRequest) ProtoMessage()

func (*DeleteSourceRequest) ProtoReflect

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

func (*DeleteSourceRequest) Reset

func (x *DeleteSourceRequest) Reset()

func (*DeleteSourceRequest) String

func (x *DeleteSourceRequest) String() string

func (*DeleteSourceRequest) Validate

func (m *DeleteSourceRequest) Validate() error

Validate checks the field values on DeleteSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteSourceRequestValidationError

type DeleteSourceRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteSourceRequestValidationError is the validation error returned by DeleteSourceRequest.Validate if the designated constraints aren't met.

func (DeleteSourceRequestValidationError) Cause

Cause function returns cause value.

func (DeleteSourceRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteSourceRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteSourceRequestValidationError) Field

Field function returns field value.

func (DeleteSourceRequestValidationError) Key

Key function returns key value.

func (DeleteSourceRequestValidationError) Reason

Reason function returns reason value.

type DeleteUserRequest

type DeleteUserRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetId

func (x *DeleteUserRequest) GetId() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

func (*DeleteUserRequest) Validate

func (m *DeleteUserRequest) Validate() error

Validate checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DeleteUserRequestValidationError

type DeleteUserRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteUserRequestValidationError is the validation error returned by DeleteUserRequest.Validate if the designated constraints aren't met.

func (DeleteUserRequestValidationError) Cause

Cause function returns cause value.

func (DeleteUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteUserRequestValidationError) Field

Field function returns field value.

func (DeleteUserRequestValidationError) Key

Key function returns key value.

func (DeleteUserRequestValidationError) Reason

Reason function returns reason value.

type Destination

type Destination struct {
	Id         string                  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created    int64                   `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated    int64                   `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Name       string                  `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Type       DestinationType         `protobuf:"varint,50,opt,name=type,proto3,enum=v1.DestinationType" json:"type,omitempty"`
	Kubernetes *Destination_Kubernetes `protobuf:"bytes,60,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"`
	// contains filtered or unexported fields
}

func (*Destination) Descriptor deprecated

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

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetCreated

func (x *Destination) GetCreated() int64

func (*Destination) GetId

func (x *Destination) GetId() string

func (*Destination) GetKubernetes

func (x *Destination) GetKubernetes() *Destination_Kubernetes

func (*Destination) GetName

func (x *Destination) GetName() string

func (*Destination) GetType

func (x *Destination) GetType() DestinationType

func (*Destination) GetUpdated

func (x *Destination) GetUpdated() int64

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

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

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

func (*Destination) Validate

func (m *Destination) Validate() error

Validate checks the field values on Destination with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DestinationType

type DestinationType int32
const (
	DestinationType_KUBERNETES DestinationType = 0
)

func (DestinationType) Descriptor

func (DestinationType) Enum

func (x DestinationType) Enum() *DestinationType

func (DestinationType) EnumDescriptor deprecated

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

Deprecated: Use DestinationType.Descriptor instead.

func (DestinationType) Number

func (DestinationType) String

func (x DestinationType) String() string

func (DestinationType) Type

type DestinationValidationError

type DestinationValidationError struct {
	// contains filtered or unexported fields
}

DestinationValidationError is the validation error returned by Destination.Validate if the designated constraints aren't met.

func (DestinationValidationError) Cause

Cause function returns cause value.

func (DestinationValidationError) Error

Error satisfies the builtin error interface

func (DestinationValidationError) ErrorName

func (e DestinationValidationError) ErrorName() string

ErrorName returns error name.

func (DestinationValidationError) Field

Field function returns field value.

func (DestinationValidationError) Key

Key function returns key value.

func (DestinationValidationError) Reason

Reason function returns reason value.

type Destination_Kubernetes

type Destination_Kubernetes struct {
	Ca        string `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	Endpoint  string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

func (*Destination_Kubernetes) Descriptor deprecated

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

Deprecated: Use Destination_Kubernetes.ProtoReflect.Descriptor instead.

func (*Destination_Kubernetes) GetCa

func (x *Destination_Kubernetes) GetCa() string

func (*Destination_Kubernetes) GetEndpoint

func (x *Destination_Kubernetes) GetEndpoint() string

func (*Destination_Kubernetes) GetNamespace added in v0.0.7

func (x *Destination_Kubernetes) GetNamespace() string

func (*Destination_Kubernetes) ProtoMessage

func (*Destination_Kubernetes) ProtoMessage()

func (*Destination_Kubernetes) ProtoReflect

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

func (*Destination_Kubernetes) Reset

func (x *Destination_Kubernetes) Reset()

func (*Destination_Kubernetes) String

func (x *Destination_Kubernetes) String() string

func (*Destination_Kubernetes) Validate

func (m *Destination_Kubernetes) Validate() error

Validate checks the field values on Destination_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Destination_KubernetesValidationError

type Destination_KubernetesValidationError struct {
	// contains filtered or unexported fields
}

Destination_KubernetesValidationError is the validation error returned by Destination_Kubernetes.Validate if the designated constraints aren't met.

func (Destination_KubernetesValidationError) Cause

Cause function returns cause value.

func (Destination_KubernetesValidationError) Error

Error satisfies the builtin error interface

func (Destination_KubernetesValidationError) ErrorName

ErrorName returns error name.

func (Destination_KubernetesValidationError) Field

Field function returns field value.

func (Destination_KubernetesValidationError) Key

Key function returns key value.

func (Destination_KubernetesValidationError) Reason

Reason function returns reason value.

type ListApiKeyResponse

type ListApiKeyResponse struct {
	ApiKeys []*ApiKey `protobuf:"bytes,1,rep,name=api_keys,json=apiKeys,proto3" json:"api_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListApiKeyResponse) Descriptor deprecated

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

Deprecated: Use ListApiKeyResponse.ProtoReflect.Descriptor instead.

func (*ListApiKeyResponse) GetApiKeys

func (x *ListApiKeyResponse) GetApiKeys() []*ApiKey

func (*ListApiKeyResponse) ProtoMessage

func (*ListApiKeyResponse) ProtoMessage()

func (*ListApiKeyResponse) ProtoReflect

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

func (*ListApiKeyResponse) Reset

func (x *ListApiKeyResponse) Reset()

func (*ListApiKeyResponse) String

func (x *ListApiKeyResponse) String() string

func (*ListApiKeyResponse) Validate

func (m *ListApiKeyResponse) Validate() error

Validate checks the field values on ListApiKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListApiKeyResponseValidationError

type ListApiKeyResponseValidationError struct {
	// contains filtered or unexported fields
}

ListApiKeyResponseValidationError is the validation error returned by ListApiKeyResponse.Validate if the designated constraints aren't met.

func (ListApiKeyResponseValidationError) Cause

Cause function returns cause value.

func (ListApiKeyResponseValidationError) Error

Error satisfies the builtin error interface

func (ListApiKeyResponseValidationError) ErrorName

ErrorName returns error name.

func (ListApiKeyResponseValidationError) Field

Field function returns field value.

func (ListApiKeyResponseValidationError) Key

Key function returns key value.

func (ListApiKeyResponseValidationError) Reason

Reason function returns reason value.

type ListDestinationsResponse

type ListDestinationsResponse struct {
	Destinations []*Destination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDestinationsResponse) Descriptor deprecated

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

Deprecated: Use ListDestinationsResponse.ProtoReflect.Descriptor instead.

func (*ListDestinationsResponse) GetDestinations

func (x *ListDestinationsResponse) GetDestinations() []*Destination

func (*ListDestinationsResponse) ProtoMessage

func (*ListDestinationsResponse) ProtoMessage()

func (*ListDestinationsResponse) ProtoReflect

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

func (*ListDestinationsResponse) Reset

func (x *ListDestinationsResponse) Reset()

func (*ListDestinationsResponse) String

func (x *ListDestinationsResponse) String() string

func (*ListDestinationsResponse) Validate

func (m *ListDestinationsResponse) Validate() error

Validate checks the field values on ListDestinationsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListDestinationsResponseValidationError

type ListDestinationsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListDestinationsResponseValidationError is the validation error returned by ListDestinationsResponse.Validate if the designated constraints aren't met.

func (ListDestinationsResponseValidationError) Cause

Cause function returns cause value.

func (ListDestinationsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListDestinationsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListDestinationsResponseValidationError) Field

Field function returns field value.

func (ListDestinationsResponseValidationError) Key

Key function returns key value.

func (ListDestinationsResponseValidationError) Reason

Reason function returns reason value.

type ListPermissionsRequest

type ListPermissionsRequest struct {
	DestinationId string `protobuf:"bytes,10,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListPermissionsRequest) GetDestinationId

func (x *ListPermissionsRequest) GetDestinationId() string

func (*ListPermissionsRequest) ProtoMessage

func (*ListPermissionsRequest) ProtoMessage()

func (*ListPermissionsRequest) ProtoReflect

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

func (*ListPermissionsRequest) Reset

func (x *ListPermissionsRequest) Reset()

func (*ListPermissionsRequest) String

func (x *ListPermissionsRequest) String() string

func (*ListPermissionsRequest) Validate

func (m *ListPermissionsRequest) Validate() error

Validate checks the field values on ListPermissionsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListPermissionsRequestValidationError

type ListPermissionsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListPermissionsRequestValidationError is the validation error returned by ListPermissionsRequest.Validate if the designated constraints aren't met.

func (ListPermissionsRequestValidationError) Cause

Cause function returns cause value.

func (ListPermissionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListPermissionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListPermissionsRequestValidationError) Field

Field function returns field value.

func (ListPermissionsRequestValidationError) Key

Key function returns key value.

func (ListPermissionsRequestValidationError) Reason

Reason function returns reason value.

type ListPermissionsResponse

type ListPermissionsResponse struct {
	Permissions []*Permission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListPermissionsResponse) GetPermissions

func (x *ListPermissionsResponse) GetPermissions() []*Permission

func (*ListPermissionsResponse) ProtoMessage

func (*ListPermissionsResponse) ProtoMessage()

func (*ListPermissionsResponse) ProtoReflect

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

func (*ListPermissionsResponse) Reset

func (x *ListPermissionsResponse) Reset()

func (*ListPermissionsResponse) String

func (x *ListPermissionsResponse) String() string

func (*ListPermissionsResponse) Validate

func (m *ListPermissionsResponse) Validate() error

Validate checks the field values on ListPermissionsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListPermissionsResponseValidationError

type ListPermissionsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListPermissionsResponseValidationError is the validation error returned by ListPermissionsResponse.Validate if the designated constraints aren't met.

func (ListPermissionsResponseValidationError) Cause

Cause function returns cause value.

func (ListPermissionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListPermissionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListPermissionsResponseValidationError) Field

Field function returns field value.

func (ListPermissionsResponseValidationError) Key

Key function returns key value.

func (ListPermissionsResponseValidationError) Reason

Reason function returns reason value.

type ListSourcesResponse

type ListSourcesResponse struct {
	Sources []*Source `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
	// contains filtered or unexported fields
}

func (*ListSourcesResponse) Descriptor deprecated

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

Deprecated: Use ListSourcesResponse.ProtoReflect.Descriptor instead.

func (*ListSourcesResponse) GetSources

func (x *ListSourcesResponse) GetSources() []*Source

func (*ListSourcesResponse) ProtoMessage

func (*ListSourcesResponse) ProtoMessage()

func (*ListSourcesResponse) ProtoReflect

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

func (*ListSourcesResponse) Reset

func (x *ListSourcesResponse) Reset()

func (*ListSourcesResponse) String

func (x *ListSourcesResponse) String() string

func (*ListSourcesResponse) Validate

func (m *ListSourcesResponse) Validate() error

Validate checks the field values on ListSourcesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListSourcesResponseValidationError

type ListSourcesResponseValidationError struct {
	// contains filtered or unexported fields
}

ListSourcesResponseValidationError is the validation error returned by ListSourcesResponse.Validate if the designated constraints aren't met.

func (ListSourcesResponseValidationError) Cause

Cause function returns cause value.

func (ListSourcesResponseValidationError) Error

Error satisfies the builtin error interface

func (ListSourcesResponseValidationError) ErrorName

ErrorName returns error name.

func (ListSourcesResponseValidationError) Field

Field function returns field value.

func (ListSourcesResponseValidationError) Key

Key function returns key value.

func (ListSourcesResponseValidationError) Reason

Reason function returns reason value.

type ListUsersRequest

type ListUsersRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetEmail

func (x *ListUsersRequest) GetEmail() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate() error

Validate checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListUsersRequestValidationError

type ListUsersRequestValidationError struct {
	// contains filtered or unexported fields
}

ListUsersRequestValidationError is the validation error returned by ListUsersRequest.Validate if the designated constraints aren't met.

func (ListUsersRequestValidationError) Cause

Cause function returns cause value.

func (ListUsersRequestValidationError) Error

Error satisfies the builtin error interface

func (ListUsersRequestValidationError) ErrorName

ErrorName returns error name.

func (ListUsersRequestValidationError) Field

Field function returns field value.

func (ListUsersRequestValidationError) Key

Key function returns key value.

func (ListUsersRequestValidationError) Reason

Reason function returns reason value.

type ListUsersResponse

type ListUsersResponse struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

func (*ListUsersResponse) Validate

func (m *ListUsersResponse) Validate() error

Validate checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListUsersResponseValidationError

type ListUsersResponseValidationError struct {
	// contains filtered or unexported fields
}

ListUsersResponseValidationError is the validation error returned by ListUsersResponse.Validate if the designated constraints aren't met.

func (ListUsersResponseValidationError) Cause

Cause function returns cause value.

func (ListUsersResponseValidationError) Error

Error satisfies the builtin error interface

func (ListUsersResponseValidationError) ErrorName

ErrorName returns error name.

func (ListUsersResponseValidationError) Field

Field function returns field value.

func (ListUsersResponseValidationError) Key

Key function returns key value.

func (ListUsersResponseValidationError) Reason

Reason function returns reason value.

type LoginRequest

type LoginRequest struct {
	Type  SourceType          `protobuf:"varint,10,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"`
	Infra *LoginRequest_Infra `protobuf:"bytes,20,opt,name=infra,proto3" json:"infra,omitempty"`
	Okta  *LoginRequest_Okta  `protobuf:"bytes,30,opt,name=okta,proto3" json:"okta,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetInfra

func (x *LoginRequest) GetInfra() *LoginRequest_Infra

func (*LoginRequest) GetOkta

func (x *LoginRequest) GetOkta() *LoginRequest_Okta

func (*LoginRequest) GetType

func (x *LoginRequest) GetType() SourceType

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

func (*LoginRequest) Validate

func (m *LoginRequest) Validate() error

Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LoginRequestValidationError

type LoginRequestValidationError struct {
	// contains filtered or unexported fields
}

LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.

func (LoginRequestValidationError) Cause

Cause function returns cause value.

func (LoginRequestValidationError) Error

Error satisfies the builtin error interface

func (LoginRequestValidationError) ErrorName

func (e LoginRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LoginRequestValidationError) Field

Field function returns field value.

func (LoginRequestValidationError) Key

Key function returns key value.

func (LoginRequestValidationError) Reason

Reason function returns reason value.

type LoginRequest_Infra

type LoginRequest_Infra struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest_Infra) Descriptor deprecated

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

Deprecated: Use LoginRequest_Infra.ProtoReflect.Descriptor instead.

func (*LoginRequest_Infra) GetEmail

func (x *LoginRequest_Infra) GetEmail() string

func (*LoginRequest_Infra) GetPassword

func (x *LoginRequest_Infra) GetPassword() string

func (*LoginRequest_Infra) ProtoMessage

func (*LoginRequest_Infra) ProtoMessage()

func (*LoginRequest_Infra) ProtoReflect

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

func (*LoginRequest_Infra) Reset

func (x *LoginRequest_Infra) Reset()

func (*LoginRequest_Infra) String

func (x *LoginRequest_Infra) String() string

func (*LoginRequest_Infra) Validate

func (m *LoginRequest_Infra) Validate() error

Validate checks the field values on LoginRequest_Infra with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LoginRequest_InfraValidationError

type LoginRequest_InfraValidationError struct {
	// contains filtered or unexported fields
}

LoginRequest_InfraValidationError is the validation error returned by LoginRequest_Infra.Validate if the designated constraints aren't met.

func (LoginRequest_InfraValidationError) Cause

Cause function returns cause value.

func (LoginRequest_InfraValidationError) Error

Error satisfies the builtin error interface

func (LoginRequest_InfraValidationError) ErrorName

ErrorName returns error name.

func (LoginRequest_InfraValidationError) Field

Field function returns field value.

func (LoginRequest_InfraValidationError) Key

Key function returns key value.

func (LoginRequest_InfraValidationError) Reason

Reason function returns reason value.

type LoginRequest_Okta

type LoginRequest_Okta struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Code   string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest_Okta) Descriptor deprecated

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

Deprecated: Use LoginRequest_Okta.ProtoReflect.Descriptor instead.

func (*LoginRequest_Okta) GetCode

func (x *LoginRequest_Okta) GetCode() string

func (*LoginRequest_Okta) GetDomain

func (x *LoginRequest_Okta) GetDomain() string

func (*LoginRequest_Okta) ProtoMessage

func (*LoginRequest_Okta) ProtoMessage()

func (*LoginRequest_Okta) ProtoReflect

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

func (*LoginRequest_Okta) Reset

func (x *LoginRequest_Okta) Reset()

func (*LoginRequest_Okta) String

func (x *LoginRequest_Okta) String() string

func (*LoginRequest_Okta) Validate

func (m *LoginRequest_Okta) Validate() error

Validate checks the field values on LoginRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LoginRequest_OktaValidationError

type LoginRequest_OktaValidationError struct {
	// contains filtered or unexported fields
}

LoginRequest_OktaValidationError is the validation error returned by LoginRequest_Okta.Validate if the designated constraints aren't met.

func (LoginRequest_OktaValidationError) Cause

Cause function returns cause value.

func (LoginRequest_OktaValidationError) Error

Error satisfies the builtin error interface

func (LoginRequest_OktaValidationError) ErrorName

ErrorName returns error name.

func (LoginRequest_OktaValidationError) Field

Field function returns field value.

func (LoginRequest_OktaValidationError) Key

Key function returns key value.

func (LoginRequest_OktaValidationError) Reason

Reason function returns reason value.

type LoginResponse

type LoginResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

func (*LoginResponse) Validate

func (m *LoginResponse) Validate() error

Validate checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LoginResponseValidationError

type LoginResponseValidationError struct {
	// contains filtered or unexported fields
}

LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.

func (LoginResponseValidationError) Cause

Cause function returns cause value.

func (LoginResponseValidationError) Error

Error satisfies the builtin error interface

func (LoginResponseValidationError) ErrorName

func (e LoginResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LoginResponseValidationError) Field

Field function returns field value.

func (LoginResponseValidationError) Key

Key function returns key value.

func (LoginResponseValidationError) Reason

Reason function returns reason value.

type Permission

type Permission struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created     int64        `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated     int64        `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	User        *User        `protobuf:"bytes,40,opt,name=user,proto3" json:"user,omitempty"`
	Destination *Destination `protobuf:"bytes,50,opt,name=destination,proto3" json:"destination,omitempty"`
	Role        string       `protobuf:"bytes,60,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetCreated

func (x *Permission) GetCreated() int64

func (*Permission) GetDestination

func (x *Permission) GetDestination() *Destination

func (*Permission) GetId

func (x *Permission) GetId() string

func (*Permission) GetRole

func (x *Permission) GetRole() string

func (*Permission) GetUpdated

func (x *Permission) GetUpdated() int64

func (*Permission) GetUser

func (x *Permission) GetUser() *User

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

func (*Permission) Validate

func (m *Permission) Validate() error

Validate checks the field values on Permission with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PermissionValidationError

type PermissionValidationError struct {
	// contains filtered or unexported fields
}

PermissionValidationError is the validation error returned by Permission.Validate if the designated constraints aren't met.

func (PermissionValidationError) Cause

func (e PermissionValidationError) Cause() error

Cause function returns cause value.

func (PermissionValidationError) Error

Error satisfies the builtin error interface

func (PermissionValidationError) ErrorName

func (e PermissionValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionValidationError) Field

Field function returns field value.

func (PermissionValidationError) Key

Key function returns key value.

func (PermissionValidationError) Reason

func (e PermissionValidationError) Reason() string

Reason function returns reason value.

type SignupRequest

type SignupRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignupRequest) Descriptor deprecated

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

Deprecated: Use SignupRequest.ProtoReflect.Descriptor instead.

func (*SignupRequest) GetEmail

func (x *SignupRequest) GetEmail() string

func (*SignupRequest) GetPassword

func (x *SignupRequest) GetPassword() string

func (*SignupRequest) ProtoMessage

func (*SignupRequest) ProtoMessage()

func (*SignupRequest) ProtoReflect

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

func (*SignupRequest) Reset

func (x *SignupRequest) Reset()

func (*SignupRequest) String

func (x *SignupRequest) String() string

func (*SignupRequest) Validate

func (m *SignupRequest) Validate() error

Validate checks the field values on SignupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SignupRequestValidationError

type SignupRequestValidationError struct {
	// contains filtered or unexported fields
}

SignupRequestValidationError is the validation error returned by SignupRequest.Validate if the designated constraints aren't met.

func (SignupRequestValidationError) Cause

Cause function returns cause value.

func (SignupRequestValidationError) Error

Error satisfies the builtin error interface

func (SignupRequestValidationError) ErrorName

func (e SignupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SignupRequestValidationError) Field

Field function returns field value.

func (SignupRequestValidationError) Key

Key function returns key value.

func (SignupRequestValidationError) Reason

Reason function returns reason value.

type Source

type Source struct {
	Id      string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64        `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated int64        `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Type    SourceType   `protobuf:"varint,40,opt,name=type,proto3,enum=v1.SourceType" json:"type,omitempty"`
	Okta    *Source_Okta `protobuf:"bytes,50,opt,name=okta,proto3" json:"okta,omitempty"`
	// contains filtered or unexported fields
}

func (*Source) Descriptor deprecated

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

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetCreated

func (x *Source) GetCreated() int64

func (*Source) GetId

func (x *Source) GetId() string

func (*Source) GetOkta

func (x *Source) GetOkta() *Source_Okta

func (*Source) GetType

func (x *Source) GetType() SourceType

func (*Source) GetUpdated

func (x *Source) GetUpdated() int64

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

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

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

func (*Source) Validate

func (m *Source) Validate() error

Validate checks the field values on Source with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SourceType

type SourceType int32
const (
	SourceType_INFRA SourceType = 0
	SourceType_OKTA  SourceType = 1
)

func (SourceType) Descriptor

func (SourceType) Descriptor() protoreflect.EnumDescriptor

func (SourceType) Enum

func (x SourceType) Enum() *SourceType

func (SourceType) EnumDescriptor deprecated

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

Deprecated: Use SourceType.Descriptor instead.

func (SourceType) Number

func (x SourceType) Number() protoreflect.EnumNumber

func (SourceType) String

func (x SourceType) String() string

func (SourceType) Type

type SourceValidationError

type SourceValidationError struct {
	// contains filtered or unexported fields
}

SourceValidationError is the validation error returned by Source.Validate if the designated constraints aren't met.

func (SourceValidationError) Cause

func (e SourceValidationError) Cause() error

Cause function returns cause value.

func (SourceValidationError) Error

func (e SourceValidationError) Error() string

Error satisfies the builtin error interface

func (SourceValidationError) ErrorName

func (e SourceValidationError) ErrorName() string

ErrorName returns error name.

func (SourceValidationError) Field

func (e SourceValidationError) Field() string

Field function returns field value.

func (SourceValidationError) Key

func (e SourceValidationError) Key() bool

Key function returns key value.

func (SourceValidationError) Reason

func (e SourceValidationError) Reason() string

Reason function returns reason value.

type Source_Okta

type Source_Okta struct {
	Domain   string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Source_Okta) Descriptor deprecated

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

Deprecated: Use Source_Okta.ProtoReflect.Descriptor instead.

func (*Source_Okta) GetClientId

func (x *Source_Okta) GetClientId() string

func (*Source_Okta) GetDomain

func (x *Source_Okta) GetDomain() string

func (*Source_Okta) ProtoMessage

func (*Source_Okta) ProtoMessage()

func (*Source_Okta) ProtoReflect

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

func (*Source_Okta) Reset

func (x *Source_Okta) Reset()

func (*Source_Okta) String

func (x *Source_Okta) String() string

func (*Source_Okta) Validate

func (m *Source_Okta) Validate() error

Validate checks the field values on Source_Okta with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type Source_OktaValidationError

type Source_OktaValidationError struct {
	// contains filtered or unexported fields
}

Source_OktaValidationError is the validation error returned by Source_Okta.Validate if the designated constraints aren't met.

func (Source_OktaValidationError) Cause

Cause function returns cause value.

func (Source_OktaValidationError) Error

Error satisfies the builtin error interface

func (Source_OktaValidationError) ErrorName

func (e Source_OktaValidationError) ErrorName() string

ErrorName returns error name.

func (Source_OktaValidationError) Field

Field function returns field value.

func (Source_OktaValidationError) Key

Key function returns key value.

func (Source_OktaValidationError) Reason

Reason function returns reason value.

type StatusResponse

type StatusResponse struct {
	Admin bool `protobuf:"varint,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

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

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetAdmin

func (x *StatusResponse) GetAdmin() bool

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

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

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

func (*StatusResponse) Validate

func (m *StatusResponse) Validate() error

Validate checks the field values on StatusResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StatusResponseValidationError

type StatusResponseValidationError struct {
	// contains filtered or unexported fields
}

StatusResponseValidationError is the validation error returned by StatusResponse.Validate if the designated constraints aren't met.

func (StatusResponseValidationError) Cause

Cause function returns cause value.

func (StatusResponseValidationError) Error

Error satisfies the builtin error interface

func (StatusResponseValidationError) ErrorName

func (e StatusResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StatusResponseValidationError) Field

Field function returns field value.

func (StatusResponseValidationError) Key

Key function returns key value.

func (StatusResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedV1Server

type UnimplementedV1Server struct {
}

UnimplementedV1Server must be embedded to have forward compatible implementations.

func (UnimplementedV1Server) CreateCred

func (UnimplementedV1Server) CreateDestination

func (UnimplementedV1Server) CreateSource

func (UnimplementedV1Server) CreateUser

func (UnimplementedV1Server) DeleteSource

func (UnimplementedV1Server) DeleteUser

func (UnimplementedV1Server) ListApiKeys

func (UnimplementedV1Server) ListDestinations

func (UnimplementedV1Server) ListPermissions

func (UnimplementedV1Server) ListSources

func (UnimplementedV1Server) ListUsers

func (UnimplementedV1Server) Login

func (UnimplementedV1Server) Logout

func (UnimplementedV1Server) Signup

func (UnimplementedV1Server) Status

type UnsafeV1Server

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

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

type User

type User struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Created int64  `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	Updated int64  `protobuf:"varint,3,opt,name=updated,proto3" json:"updated,omitempty"`
	Email   string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	Admin   bool   `protobuf:"varint,20,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAdmin

func (x *User) GetAdmin() bool

func (*User) GetCreated

func (x *User) GetCreated() int64

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetUpdated

func (x *User) GetUpdated() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

func (*User) Validate

func (m *User) Validate() error

Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UserValidationError

type UserValidationError struct {
	// contains filtered or unexported fields
}

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type V1Client

type V1Client interface {
	ListUsers(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListDestinations(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListDestinationsResponse, error)
	CreateDestination(ctx context.Context, in *CreateDestinationRequest, opts ...grpc.CallOption) (*Destination, error)
	ListSources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSourcesResponse, error)
	CreateSource(ctx context.Context, in *CreateSourceRequest, opts ...grpc.CallOption) (*Source, error)
	DeleteSource(ctx context.Context, in *DeleteSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ListPermissions(ctx context.Context, in *ListPermissionsRequest, opts ...grpc.CallOption) (*ListPermissionsResponse, error)
	CreateCred(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CreateCredResponse, error)
	ListApiKeys(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListApiKeyResponse, error)
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Logout(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Signup(ctx context.Context, in *SignupRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*StatusResponse, error)
}

V1Client is the client API for V1 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.

func NewV1Client

func NewV1Client(cc grpc.ClientConnInterface) V1Client

type V1Server

V1Server is the server API for V1 service. All implementations must embed UnimplementedV1Server for forward compatibility

Jump to

Keyboard shortcuts

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