v1

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package v1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

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 (
	KubernetesRoleType_name = map[int32]string{
		0: "ROLE",
		1: "CLUSTER_ROLE",
	}
	KubernetesRoleType_value = map[string]int32{
		"ROLE":         0,
		"CLUSTER_ROLE": 1,
	}
)

Enum value maps for KubernetesRoleType.

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: "ListRoles",
			Handler:    _V1_ListRoles_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,
		},
		{
			MethodName: "Version",
			Handler:    _V1_Version_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 RegisterV1Handler added in v0.0.13

func RegisterV1Handler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterV1Handler registers the http handlers for service V1 to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterV1HandlerClient added in v0.0.13

func RegisterV1HandlerClient(ctx context.Context, mux *runtime.ServeMux, client V1Client) error

RegisterV1HandlerClient registers the http handlers for service V1 to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "V1Client". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "V1Client" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "V1Client" to call the correct interceptors.

func RegisterV1HandlerFromEndpoint added in v0.0.13

func RegisterV1HandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterV1HandlerFromEndpoint is same as RegisterV1Handler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterV1HandlerServer added in v0.0.13

func RegisterV1HandlerServer(ctx context.Context, mux *runtime.ServeMux, server V1Server) error

RegisterV1HandlerServer registers the http handlers for service V1 to "mux". UnaryRPC :call V1Server directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterV1HandlerFromEndpoint instead.

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, the first error encountered is returned, or nil if there are no violations.

func (*ApiKey) ValidateAll added in v0.0.12

func (m *ApiKey) ValidateAll() error

ValidateAll checks the field values on ApiKey with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApiKeyMultiError, or nil if none found.

type ApiKeyMultiError added in v0.0.12

type ApiKeyMultiError []error

ApiKeyMultiError is an error wrapping multiple validation errors returned by ApiKey.ValidateAll() if the designated constraints aren't met.

func (ApiKeyMultiError) AllErrors added in v0.0.12

func (m ApiKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ApiKeyMultiError) Error added in v0.0.12

func (m ApiKeyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateCredResponse) ValidateAll added in v0.0.12

func (m *CreateCredResponse) ValidateAll() error

ValidateAll checks the field values on CreateCredResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCredResponseMultiError, or nil if none found.

type CreateCredResponseMultiError added in v0.0.12

type CreateCredResponseMultiError []error

CreateCredResponseMultiError is an error wrapping multiple validation errors returned by CreateCredResponse.ValidateAll() if the designated constraints aren't met.

func (CreateCredResponseMultiError) AllErrors added in v0.0.12

func (m CreateCredResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateCredResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateDestinationRequest) ValidateAll added in v0.0.12

func (m *CreateDestinationRequest) ValidateAll() error

ValidateAll checks the field values on CreateDestinationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDestinationRequestMultiError, or nil if none found.

type CreateDestinationRequestMultiError added in v0.0.12

type CreateDestinationRequestMultiError []error

CreateDestinationRequestMultiError is an error wrapping multiple validation errors returned by CreateDestinationRequest.ValidateAll() if the designated constraints aren't met.

func (CreateDestinationRequestMultiError) AllErrors added in v0.0.12

func (m CreateDestinationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateDestinationRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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"`
	SaToken   string `protobuf:"bytes,4,opt,name=sa_token,json=saToken,proto3" json:"sa_token,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) GetSaToken added in v0.0.11

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateDestinationRequest_Kubernetes) ValidateAll added in v0.0.12

func (m *CreateDestinationRequest_Kubernetes) ValidateAll() error

ValidateAll checks the field values on CreateDestinationRequest_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateDestinationRequest_KubernetesMultiError, or nil if none found.

type CreateDestinationRequest_KubernetesMultiError added in v0.0.12

type CreateDestinationRequest_KubernetesMultiError []error

CreateDestinationRequest_KubernetesMultiError is an error wrapping multiple validation errors returned by CreateDestinationRequest_Kubernetes.ValidateAll() if the designated constraints aren't met.

func (CreateDestinationRequest_KubernetesMultiError) AllErrors added in v0.0.12

AllErrors returns a list of validation violation errors.

func (CreateDestinationRequest_KubernetesMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateSourceRequest) ValidateAll added in v0.0.12

func (m *CreateSourceRequest) ValidateAll() error

ValidateAll checks the field values on CreateSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSourceRequestMultiError, or nil if none found.

type CreateSourceRequestMultiError added in v0.0.12

type CreateSourceRequestMultiError []error

CreateSourceRequestMultiError is an error wrapping multiple validation errors returned by CreateSourceRequest.ValidateAll() if the designated constraints aren't met.

func (CreateSourceRequestMultiError) AllErrors added in v0.0.12

func (m CreateSourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSourceRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateSourceRequest_Okta) ValidateAll added in v0.0.12

func (m *CreateSourceRequest_Okta) ValidateAll() error

ValidateAll checks the field values on CreateSourceRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateSourceRequest_OktaMultiError, or nil if none found.

type CreateSourceRequest_OktaMultiError added in v0.0.12

type CreateSourceRequest_OktaMultiError []error

CreateSourceRequest_OktaMultiError is an error wrapping multiple validation errors returned by CreateSourceRequest_Okta.ValidateAll() if the designated constraints aren't met.

func (CreateSourceRequest_OktaMultiError) AllErrors added in v0.0.12

func (m CreateSourceRequest_OktaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateSourceRequest_OktaMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*CreateUserRequest) ValidateAll added in v0.0.12

func (m *CreateUserRequest) ValidateAll() error

ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.

type CreateUserRequestMultiError added in v0.0.12

type CreateUserRequestMultiError []error

CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.

func (CreateUserRequestMultiError) AllErrors added in v0.0.12

func (m CreateUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*DeleteSourceRequest) ValidateAll added in v0.0.12

func (m *DeleteSourceRequest) ValidateAll() error

ValidateAll checks the field values on DeleteSourceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteSourceRequestMultiError, or nil if none found.

type DeleteSourceRequestMultiError added in v0.0.12

type DeleteSourceRequestMultiError []error

DeleteSourceRequestMultiError is an error wrapping multiple validation errors returned by DeleteSourceRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteSourceRequestMultiError) AllErrors added in v0.0.12

func (m DeleteSourceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteSourceRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*DeleteUserRequest) ValidateAll added in v0.0.12

func (m *DeleteUserRequest) ValidateAll() error

ValidateAll checks the field values on DeleteUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteUserRequestMultiError, or nil if none found.

type DeleteUserRequestMultiError added in v0.0.12

type DeleteUserRequestMultiError []error

DeleteUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteUserRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteUserRequestMultiError) AllErrors added in v0.0.12

func (m DeleteUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteUserRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*Destination) ValidateAll added in v0.0.12

func (m *Destination) ValidateAll() error

ValidateAll checks the field values on Destination with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DestinationMultiError, or nil if none found.

type DestinationMultiError added in v0.0.12

type DestinationMultiError []error

DestinationMultiError is an error wrapping multiple validation errors returned by Destination.ValidateAll() if the designated constraints aren't met.

func (DestinationMultiError) AllErrors added in v0.0.12

func (m DestinationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DestinationMultiError) Error added in v0.0.12

func (m DestinationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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"`
	SaToken   string `protobuf:"bytes,4,opt,name=sa_token,json=saToken,proto3" json:"sa_token,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) GetSaToken added in v0.0.11

func (x *Destination_Kubernetes) GetSaToken() 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, the first error encountered is returned, or nil if there are no violations.

func (*Destination_Kubernetes) ValidateAll added in v0.0.12

func (m *Destination_Kubernetes) ValidateAll() error

ValidateAll checks the field values on Destination_Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Destination_KubernetesMultiError, or nil if none found.

type Destination_KubernetesMultiError added in v0.0.12

type Destination_KubernetesMultiError []error

Destination_KubernetesMultiError is an error wrapping multiple validation errors returned by Destination_Kubernetes.ValidateAll() if the designated constraints aren't met.

func (Destination_KubernetesMultiError) AllErrors added in v0.0.12

func (m Destination_KubernetesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Destination_KubernetesMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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 Error added in v0.0.13

type Error struct {
	Message string          `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Details []*ErrorDetails `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetDetails added in v0.0.13

func (x *Error) GetDetails() []*ErrorDetails

func (*Error) GetMessage added in v0.0.13

func (x *Error) GetMessage() string

func (*Error) ProtoMessage added in v0.0.13

func (*Error) ProtoMessage()

func (*Error) ProtoReflect added in v0.0.13

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

func (*Error) Reset added in v0.0.13

func (x *Error) Reset()

func (*Error) String added in v0.0.13

func (x *Error) String() string

func (*Error) Validate added in v0.0.13

func (m *Error) Validate() error

Validate checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Error) ValidateAll added in v0.0.13

func (m *Error) ValidateAll() error

ValidateAll checks the field values on Error with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorMultiError, or nil if none found.

type ErrorDetails added in v0.0.13

type ErrorDetails struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorDetails) Descriptor deprecated added in v0.0.13

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

Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.

func (*ErrorDetails) GetDescription added in v0.0.13

func (x *ErrorDetails) GetDescription() string

func (*ErrorDetails) GetName added in v0.0.13

func (x *ErrorDetails) GetName() string

func (*ErrorDetails) ProtoMessage added in v0.0.13

func (*ErrorDetails) ProtoMessage()

func (*ErrorDetails) ProtoReflect added in v0.0.13

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

func (*ErrorDetails) Reset added in v0.0.13

func (x *ErrorDetails) Reset()

func (*ErrorDetails) String added in v0.0.13

func (x *ErrorDetails) String() string

func (*ErrorDetails) Validate added in v0.0.13

func (m *ErrorDetails) Validate() error

Validate checks the field values on ErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ErrorDetails) ValidateAll added in v0.0.13

func (m *ErrorDetails) ValidateAll() error

ValidateAll checks the field values on ErrorDetails with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ErrorDetailsMultiError, or nil if none found.

type ErrorDetailsMultiError added in v0.0.13

type ErrorDetailsMultiError []error

ErrorDetailsMultiError is an error wrapping multiple validation errors returned by ErrorDetails.ValidateAll() if the designated constraints aren't met.

func (ErrorDetailsMultiError) AllErrors added in v0.0.13

func (m ErrorDetailsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ErrorDetailsMultiError) Error added in v0.0.13

func (m ErrorDetailsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ErrorDetailsValidationError added in v0.0.13

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

ErrorDetailsValidationError is the validation error returned by ErrorDetails.Validate if the designated constraints aren't met.

func (ErrorDetailsValidationError) Cause added in v0.0.13

Cause function returns cause value.

func (ErrorDetailsValidationError) Error added in v0.0.13

Error satisfies the builtin error interface

func (ErrorDetailsValidationError) ErrorName added in v0.0.13

func (e ErrorDetailsValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorDetailsValidationError) Field added in v0.0.13

Field function returns field value.

func (ErrorDetailsValidationError) Key added in v0.0.13

Key function returns key value.

func (ErrorDetailsValidationError) Reason added in v0.0.13

Reason function returns reason value.

type ErrorMultiError added in v0.0.13

type ErrorMultiError []error

ErrorMultiError is an error wrapping multiple validation errors returned by Error.ValidateAll() if the designated constraints aren't met.

func (ErrorMultiError) AllErrors added in v0.0.13

func (m ErrorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ErrorMultiError) Error added in v0.0.13

func (m ErrorMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ErrorValidationError added in v0.0.13

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

ErrorValidationError is the validation error returned by Error.Validate if the designated constraints aren't met.

func (ErrorValidationError) Cause added in v0.0.13

func (e ErrorValidationError) Cause() error

Cause function returns cause value.

func (ErrorValidationError) Error added in v0.0.13

func (e ErrorValidationError) Error() string

Error satisfies the builtin error interface

func (ErrorValidationError) ErrorName added in v0.0.13

func (e ErrorValidationError) ErrorName() string

ErrorName returns error name.

func (ErrorValidationError) Field added in v0.0.13

func (e ErrorValidationError) Field() string

Field function returns field value.

func (ErrorValidationError) Key added in v0.0.13

func (e ErrorValidationError) Key() bool

Key function returns key value.

func (ErrorValidationError) Reason added in v0.0.13

func (e ErrorValidationError) Reason() string

Reason function returns reason value.

type KubernetesRoleType added in v0.0.13

type KubernetesRoleType int32
const (
	KubernetesRoleType_ROLE         KubernetesRoleType = 0
	KubernetesRoleType_CLUSTER_ROLE KubernetesRoleType = 1
)

func (KubernetesRoleType) Descriptor added in v0.0.13

func (KubernetesRoleType) Enum added in v0.0.13

func (KubernetesRoleType) EnumDescriptor deprecated added in v0.0.13

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

Deprecated: Use KubernetesRoleType.Descriptor instead.

func (KubernetesRoleType) Number added in v0.0.13

func (KubernetesRoleType) String added in v0.0.13

func (x KubernetesRoleType) String() string

func (KubernetesRoleType) Type added in v0.0.13

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, the first error encountered is returned, or nil if there are no violations.

func (*ListApiKeyResponse) ValidateAll added in v0.0.12

func (m *ListApiKeyResponse) ValidateAll() error

ValidateAll checks the field values on ListApiKeyResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListApiKeyResponseMultiError, or nil if none found.

type ListApiKeyResponseMultiError added in v0.0.12

type ListApiKeyResponseMultiError []error

ListApiKeyResponseMultiError is an error wrapping multiple validation errors returned by ListApiKeyResponse.ValidateAll() if the designated constraints aren't met.

func (ListApiKeyResponseMultiError) AllErrors added in v0.0.12

func (m ListApiKeyResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListApiKeyResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*ListDestinationsResponse) ValidateAll added in v0.0.12

func (m *ListDestinationsResponse) ValidateAll() error

ValidateAll checks the field values on ListDestinationsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDestinationsResponseMultiError, or nil if none found.

type ListDestinationsResponseMultiError added in v0.0.12

type ListDestinationsResponseMultiError []error

ListDestinationsResponseMultiError is an error wrapping multiple validation errors returned by ListDestinationsResponse.ValidateAll() if the designated constraints aren't met.

func (ListDestinationsResponseMultiError) AllErrors added in v0.0.12

func (m ListDestinationsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListDestinationsResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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 ListRolesRequest added in v0.0.13

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

func (*ListRolesRequest) Descriptor deprecated added in v0.0.13

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

Deprecated: Use ListRolesRequest.ProtoReflect.Descriptor instead.

func (*ListRolesRequest) GetDestinationId added in v0.0.13

func (x *ListRolesRequest) GetDestinationId() string

func (*ListRolesRequest) ProtoMessage added in v0.0.13

func (*ListRolesRequest) ProtoMessage()

func (*ListRolesRequest) ProtoReflect added in v0.0.13

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

func (*ListRolesRequest) Reset added in v0.0.13

func (x *ListRolesRequest) Reset()

func (*ListRolesRequest) String added in v0.0.13

func (x *ListRolesRequest) String() string

func (*ListRolesRequest) Validate added in v0.0.13

func (m *ListRolesRequest) Validate() error

Validate checks the field values on ListRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListRolesRequest) ValidateAll added in v0.0.13

func (m *ListRolesRequest) ValidateAll() error

ValidateAll checks the field values on ListRolesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesRequestMultiError, or nil if none found.

type ListRolesRequestMultiError added in v0.0.13

type ListRolesRequestMultiError []error

ListRolesRequestMultiError is an error wrapping multiple validation errors returned by ListRolesRequest.ValidateAll() if the designated constraints aren't met.

func (ListRolesRequestMultiError) AllErrors added in v0.0.13

func (m ListRolesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRolesRequestMultiError) Error added in v0.0.13

Error returns a concatenation of all the error messages it wraps.

type ListRolesRequestValidationError added in v0.0.13

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

ListRolesRequestValidationError is the validation error returned by ListRolesRequest.Validate if the designated constraints aren't met.

func (ListRolesRequestValidationError) Cause added in v0.0.13

Cause function returns cause value.

func (ListRolesRequestValidationError) Error added in v0.0.13

Error satisfies the builtin error interface

func (ListRolesRequestValidationError) ErrorName added in v0.0.13

ErrorName returns error name.

func (ListRolesRequestValidationError) Field added in v0.0.13

Field function returns field value.

func (ListRolesRequestValidationError) Key added in v0.0.13

Key function returns key value.

func (ListRolesRequestValidationError) Reason added in v0.0.13

Reason function returns reason value.

type ListRolesResponse added in v0.0.13

type ListRolesResponse struct {
	Roles []*Role `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRolesResponse) Descriptor deprecated added in v0.0.13

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

Deprecated: Use ListRolesResponse.ProtoReflect.Descriptor instead.

func (*ListRolesResponse) GetRoles added in v0.0.13

func (x *ListRolesResponse) GetRoles() []*Role

func (*ListRolesResponse) ProtoMessage added in v0.0.13

func (*ListRolesResponse) ProtoMessage()

func (*ListRolesResponse) ProtoReflect added in v0.0.13

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

func (*ListRolesResponse) Reset added in v0.0.13

func (x *ListRolesResponse) Reset()

func (*ListRolesResponse) String added in v0.0.13

func (x *ListRolesResponse) String() string

func (*ListRolesResponse) Validate added in v0.0.13

func (m *ListRolesResponse) Validate() error

Validate checks the field values on ListRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ListRolesResponse) ValidateAll added in v0.0.13

func (m *ListRolesResponse) ValidateAll() error

ValidateAll checks the field values on ListRolesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRolesResponseMultiError, or nil if none found.

type ListRolesResponseMultiError added in v0.0.13

type ListRolesResponseMultiError []error

ListRolesResponseMultiError is an error wrapping multiple validation errors returned by ListRolesResponse.ValidateAll() if the designated constraints aren't met.

func (ListRolesResponseMultiError) AllErrors added in v0.0.13

func (m ListRolesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListRolesResponseMultiError) Error added in v0.0.13

Error returns a concatenation of all the error messages it wraps.

type ListRolesResponseValidationError added in v0.0.13

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

ListRolesResponseValidationError is the validation error returned by ListRolesResponse.Validate if the designated constraints aren't met.

func (ListRolesResponseValidationError) Cause added in v0.0.13

Cause function returns cause value.

func (ListRolesResponseValidationError) Error added in v0.0.13

Error satisfies the builtin error interface

func (ListRolesResponseValidationError) ErrorName added in v0.0.13

ErrorName returns error name.

func (ListRolesResponseValidationError) Field added in v0.0.13

Field function returns field value.

func (ListRolesResponseValidationError) Key added in v0.0.13

Key function returns key value.

func (ListRolesResponseValidationError) Reason added in v0.0.13

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, the first error encountered is returned, or nil if there are no violations.

func (*ListSourcesResponse) ValidateAll added in v0.0.12

func (m *ListSourcesResponse) ValidateAll() error

ValidateAll checks the field values on ListSourcesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListSourcesResponseMultiError, or nil if none found.

type ListSourcesResponseMultiError added in v0.0.12

type ListSourcesResponseMultiError []error

ListSourcesResponseMultiError is an error wrapping multiple validation errors returned by ListSourcesResponse.ValidateAll() if the designated constraints aren't met.

func (ListSourcesResponseMultiError) AllErrors added in v0.0.12

func (m ListSourcesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListSourcesResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersRequest) ValidateAll added in v0.0.12

func (m *ListUsersRequest) ValidateAll() error

ValidateAll checks the field values on ListUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersRequestMultiError, or nil if none found.

type ListUsersRequestMultiError added in v0.0.12

type ListUsersRequestMultiError []error

ListUsersRequestMultiError is an error wrapping multiple validation errors returned by ListUsersRequest.ValidateAll() if the designated constraints aren't met.

func (ListUsersRequestMultiError) AllErrors added in v0.0.12

func (m ListUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersRequestMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*ListUsersResponse) ValidateAll added in v0.0.12

func (m *ListUsersResponse) ValidateAll() error

ValidateAll checks the field values on ListUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUsersResponseMultiError, or nil if none found.

type ListUsersResponseMultiError added in v0.0.12

type ListUsersResponseMultiError []error

ListUsersResponseMultiError is an error wrapping multiple validation errors returned by ListUsersResponse.ValidateAll() if the designated constraints aren't met.

func (ListUsersResponseMultiError) AllErrors added in v0.0.12

func (m ListUsersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListUsersResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest) ValidateAll added in v0.0.12

func (m *LoginRequest) ValidateAll() error

ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.

type LoginRequestMultiError added in v0.0.12

type LoginRequestMultiError []error

LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.

func (LoginRequestMultiError) AllErrors added in v0.0.12

func (m LoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequestMultiError) Error added in v0.0.12

func (m LoginRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest_Infra) ValidateAll added in v0.0.12

func (m *LoginRequest_Infra) ValidateAll() error

ValidateAll checks the field values on LoginRequest_Infra with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequest_InfraMultiError, or nil if none found.

type LoginRequest_InfraMultiError added in v0.0.12

type LoginRequest_InfraMultiError []error

LoginRequest_InfraMultiError is an error wrapping multiple validation errors returned by LoginRequest_Infra.ValidateAll() if the designated constraints aren't met.

func (LoginRequest_InfraMultiError) AllErrors added in v0.0.12

func (m LoginRequest_InfraMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequest_InfraMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*LoginRequest_Okta) ValidateAll added in v0.0.12

func (m *LoginRequest_Okta) ValidateAll() error

ValidateAll checks the field values on LoginRequest_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequest_OktaMultiError, or nil if none found.

type LoginRequest_OktaMultiError added in v0.0.12

type LoginRequest_OktaMultiError []error

LoginRequest_OktaMultiError is an error wrapping multiple validation errors returned by LoginRequest_Okta.ValidateAll() if the designated constraints aren't met.

func (LoginRequest_OktaMultiError) AllErrors added in v0.0.12

func (m LoginRequest_OktaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginRequest_OktaMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*LoginResponse) ValidateAll added in v0.0.12

func (m *LoginResponse) ValidateAll() error

ValidateAll checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginResponseMultiError, or nil if none found.

type LoginResponseMultiError added in v0.0.12

type LoginResponseMultiError []error

LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.

func (LoginResponseMultiError) AllErrors added in v0.0.12

func (m LoginResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LoginResponseMultiError) Error added in v0.0.12

func (m LoginResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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 Role added in v0.0.13

type Role 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"`
	Users       []*User            `protobuf:"bytes,40,rep,name=users,proto3" json:"users,omitempty"`
	Destination *Destination       `protobuf:"bytes,50,opt,name=destination,proto3" json:"destination,omitempty"`
	Name        string             `protobuf:"bytes,60,opt,name=name,proto3" json:"name,omitempty"`
	Kind        KubernetesRoleType `protobuf:"varint,70,opt,name=kind,proto3,enum=v1.KubernetesRoleType" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated added in v0.0.13

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCreated added in v0.0.13

func (x *Role) GetCreated() int64

func (*Role) GetDestination added in v0.0.13

func (x *Role) GetDestination() *Destination

func (*Role) GetId added in v0.0.13

func (x *Role) GetId() string

func (*Role) GetKind added in v0.0.13

func (x *Role) GetKind() KubernetesRoleType

func (*Role) GetName added in v0.0.13

func (x *Role) GetName() string

func (*Role) GetUpdated added in v0.0.13

func (x *Role) GetUpdated() int64

func (*Role) GetUsers added in v0.0.14

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

func (*Role) ProtoMessage added in v0.0.13

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v0.0.13

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

func (*Role) Reset added in v0.0.13

func (x *Role) Reset()

func (*Role) String added in v0.0.13

func (x *Role) String() string

func (*Role) Validate added in v0.0.13

func (m *Role) Validate() error

Validate checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Role) ValidateAll added in v0.0.13

func (m *Role) ValidateAll() error

ValidateAll checks the field values on Role with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RoleMultiError, or nil if none found.

type RoleMultiError added in v0.0.13

type RoleMultiError []error

RoleMultiError is an error wrapping multiple validation errors returned by Role.ValidateAll() if the designated constraints aren't met.

func (RoleMultiError) AllErrors added in v0.0.13

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error added in v0.0.13

func (m RoleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RoleValidationError added in v0.0.13

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

RoleValidationError is the validation error returned by Role.Validate if the designated constraints aren't met.

func (RoleValidationError) Cause added in v0.0.13

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error added in v0.0.13

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName added in v0.0.13

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field added in v0.0.13

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key added in v0.0.13

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason added in v0.0.13

func (e RoleValidationError) 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, the first error encountered is returned, or nil if there are no violations.

func (*SignupRequest) ValidateAll added in v0.0.12

func (m *SignupRequest) ValidateAll() error

ValidateAll checks the field values on SignupRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SignupRequestMultiError, or nil if none found.

type SignupRequestMultiError added in v0.0.12

type SignupRequestMultiError []error

SignupRequestMultiError is an error wrapping multiple validation errors returned by SignupRequest.ValidateAll() if the designated constraints aren't met.

func (SignupRequestMultiError) AllErrors added in v0.0.12

func (m SignupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SignupRequestMultiError) Error added in v0.0.12

func (m SignupRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*Source) ValidateAll added in v0.0.12

func (m *Source) ValidateAll() error

ValidateAll checks the field values on Source with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceMultiError, or nil if none found.

type SourceMultiError added in v0.0.12

type SourceMultiError []error

SourceMultiError is an error wrapping multiple validation errors returned by Source.ValidateAll() if the designated constraints aren't met.

func (SourceMultiError) AllErrors added in v0.0.12

func (m SourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SourceMultiError) Error added in v0.0.12

func (m SourceMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*Source_Okta) ValidateAll added in v0.0.12

func (m *Source_Okta) ValidateAll() error

ValidateAll checks the field values on Source_Okta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Source_OktaMultiError, or nil if none found.

type Source_OktaMultiError added in v0.0.12

type Source_OktaMultiError []error

Source_OktaMultiError is an error wrapping multiple validation errors returned by Source_Okta.ValidateAll() if the designated constraints aren't met.

func (Source_OktaMultiError) AllErrors added in v0.0.12

func (m Source_OktaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Source_OktaMultiError) Error added in v0.0.12

func (m Source_OktaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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, the first error encountered is returned, or nil if there are no violations.

func (*StatusResponse) ValidateAll added in v0.0.12

func (m *StatusResponse) ValidateAll() error

ValidateAll checks the field values on StatusResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StatusResponseMultiError, or nil if none found.

type StatusResponseMultiError added in v0.0.12

type StatusResponseMultiError []error

StatusResponseMultiError is an error wrapping multiple validation errors returned by StatusResponse.ValidateAll() if the designated constraints aren't met.

func (StatusResponseMultiError) AllErrors added in v0.0.12

func (m StatusResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StatusResponseMultiError) Error added in v0.0.12

func (m StatusResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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) ListRoles added in v0.0.13

func (UnimplementedV1Server) ListSources

func (UnimplementedV1Server) ListUsers

func (UnimplementedV1Server) Login

func (UnimplementedV1Server) Logout

func (UnimplementedV1Server) Signup

func (UnimplementedV1Server) Status

func (UnimplementedV1Server) Version added in v0.0.9

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, the first error encountered is returned, or nil if there are no violations.

func (*User) ValidateAll added in v0.0.12

func (m *User) ValidateAll() error

ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.

type UserMultiError added in v0.0.12

type UserMultiError []error

UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.

func (UserMultiError) AllErrors added in v0.0.12

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error added in v0.0.12

func (m UserMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

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)
	ListRoles(ctx context.Context, in *ListRolesRequest, opts ...grpc.CallOption) (*ListRolesResponse, 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)
	Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, 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

type VersionResponse added in v0.0.9

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

func (*VersionResponse) Descriptor deprecated added in v0.0.9

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

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersion added in v0.0.9

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage added in v0.0.9

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect added in v0.0.9

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

func (*VersionResponse) Reset added in v0.0.9

func (x *VersionResponse) Reset()

func (*VersionResponse) String added in v0.0.9

func (x *VersionResponse) String() string

func (*VersionResponse) Validate added in v0.0.9

func (m *VersionResponse) Validate() error

Validate checks the field values on VersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*VersionResponse) ValidateAll added in v0.0.12

func (m *VersionResponse) ValidateAll() error

ValidateAll checks the field values on VersionResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VersionResponseMultiError, or nil if none found.

type VersionResponseMultiError added in v0.0.12

type VersionResponseMultiError []error

VersionResponseMultiError is an error wrapping multiple validation errors returned by VersionResponse.ValidateAll() if the designated constraints aren't met.

func (VersionResponseMultiError) AllErrors added in v0.0.12

func (m VersionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (VersionResponseMultiError) Error added in v0.0.12

Error returns a concatenation of all the error messages it wraps.

type VersionResponseValidationError added in v0.0.9

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

VersionResponseValidationError is the validation error returned by VersionResponse.Validate if the designated constraints aren't met.

func (VersionResponseValidationError) Cause added in v0.0.9

Cause function returns cause value.

func (VersionResponseValidationError) Error added in v0.0.9

Error satisfies the builtin error interface

func (VersionResponseValidationError) ErrorName added in v0.0.9

func (e VersionResponseValidationError) ErrorName() string

ErrorName returns error name.

func (VersionResponseValidationError) Field added in v0.0.9

Field function returns field value.

func (VersionResponseValidationError) Key added in v0.0.9

Key function returns key value.

func (VersionResponseValidationError) Reason added in v0.0.9

Reason function returns reason value.

Jump to

Keyboard shortcuts

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