auth

package
v2.8.0-nightly.20231016 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 29 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// ContextTokenKey is the key of the auth token in an
	// authenticated context
	ContextTokenKey = constants.ContextTokenKey

	// ClusterRoleBindingKey is a key in etcd, in the roleBindings collection,
	// that contains the set of role bindings for the cluster. These are frequently
	// accessed so we cache them.
	ClusterRoleBindingKey = "CLUSTER:"

	// UserPrefix indicates that this Subject is a Pachyderm user synced from an IDP.
	UserPrefix = "user:"

	// RobotPrefix indicates that this Subject is a Pachyderm robot user. Any
	// string (with this prefix) is a logical Pachyderm robot user.
	RobotPrefix = "robot:"

	// InternalPrefix indicates that this Subject is internal to Pachyderm itself,
	// created to run a background task
	InternalPrefix = "internal:"

	// PipelinePrefix indicates that this Subject is a PPS pipeline. Any string
	// (with this prefix) is a logical PPS pipeline (even though the pipeline may
	// not exist).
	PipelinePrefix = "pipeline:"

	// PachPrefix indicates that this Subject is an internal Pachyderm user.
	PachPrefix = "pach:"

	// GroupPrefix indicates that this Subject is a group.
	GroupPrefix = "group:"

	// RootUser is the user created when auth is initialized. Only one token
	// can be created for this user (during auth activation) and they cannot
	// be removed from the set of cluster super-admins.
	RootUser = "pach:root"

	// ClusterAdminRole is the role for cluster admins, who have full access to all APIs
	ClusterAdminRole = "clusterAdmin"

	// RepoOwnerRole is a role which grants access to read, write and modify the role bindings for a repo
	RepoOwnerRole = "repoOwner"

	// RepoWriterRole is a role which grants ability to both read from and write to a repo
	RepoWriterRole = "repoWriter"

	// RepoReaderRole is a role which grants ability to both read from a repo
	RepoReaderRole = "repoReader"

	// IDPAdminRole is a role which grants the ability to configure OIDC apps.
	OIDCAppAdminRole = "oidcAppAdmin"

	// IDPAdminRole is a role which grants the ability to configure identity providers.
	IDPAdminRole = "idpAdmin"

	// IdentityAdmin is a role which grants the ability to configure the identity service.
	IdentityAdminRole = "identityAdmin"

	// DebuggerRole is a role which grants the ability to produce debug dumps.
	DebuggerRole = "debugger"

	// LokiLogReaderRole is a role which grants the ability to read logs from Loki.
	LokiLogReaderRole = "lokiLogReader"

	// RobotUserRole is a role which grants the ability to generate tokens for robot
	// users.
	RobotUserRole = "robotUser"

	// LicenseAdminRole is a role which grants the ability to register new
	// pachds with the license server, manage pachds and update the enterprise license.
	LicenseAdminRole = "licenseAdmin"

	// AllClusterUsersSubject is a subject which applies a role binding to all authenticated users
	AllClusterUsersSubject = "allClusterUsers"

	// SecretAdminRole is a role which grants the ability to manage secrets
	SecretAdminRole = "secretAdmin"

	// PachdLogReaderRole is a role which grants the ability to pull pachd logs
	PachdLogReaderRole = "pachdLogReader"

	// ProjectViewerRole is a role which grants the ability to view resources under a project, such as repos and pipelines
	ProjectViewerRole = "projectViewer"

	// ProjectWriterRole is a role which grants the ability to create resources under a project, such as repos and pipelines
	ProjectWriterRole = "projectWriter"

	// ProjectOwnerRole is a role which grants the ability to manage RoleBindings, as well as delete resources within a project
	ProjectOwnerRole = "projectOwner"

	// ProjectCreatorRole is a role which grants the ability to create projects
	ProjectCreatorRole = "projectCreator"
)
View Source
const (
	API_Activate_FullMethodName                   = "/auth_v2.API/Activate"
	API_Deactivate_FullMethodName                 = "/auth_v2.API/Deactivate"
	API_GetConfiguration_FullMethodName           = "/auth_v2.API/GetConfiguration"
	API_SetConfiguration_FullMethodName           = "/auth_v2.API/SetConfiguration"
	API_Authenticate_FullMethodName               = "/auth_v2.API/Authenticate"
	API_Authorize_FullMethodName                  = "/auth_v2.API/Authorize"
	API_GetPermissions_FullMethodName             = "/auth_v2.API/GetPermissions"
	API_GetPermissionsForPrincipal_FullMethodName = "/auth_v2.API/GetPermissionsForPrincipal"
	API_WhoAmI_FullMethodName                     = "/auth_v2.API/WhoAmI"
	API_GetRolesForPermission_FullMethodName      = "/auth_v2.API/GetRolesForPermission"
	API_ModifyRoleBinding_FullMethodName          = "/auth_v2.API/ModifyRoleBinding"
	API_GetRoleBinding_FullMethodName             = "/auth_v2.API/GetRoleBinding"
	API_GetOIDCLogin_FullMethodName               = "/auth_v2.API/GetOIDCLogin"
	API_GetRobotToken_FullMethodName              = "/auth_v2.API/GetRobotToken"
	API_RevokeAuthToken_FullMethodName            = "/auth_v2.API/RevokeAuthToken"
	API_RevokeAuthTokensForUser_FullMethodName    = "/auth_v2.API/RevokeAuthTokensForUser"
	API_SetGroupsForUser_FullMethodName           = "/auth_v2.API/SetGroupsForUser"
	API_ModifyMembers_FullMethodName              = "/auth_v2.API/ModifyMembers"
	API_GetGroups_FullMethodName                  = "/auth_v2.API/GetGroups"
	API_GetGroupsForPrincipal_FullMethodName      = "/auth_v2.API/GetGroupsForPrincipal"
	API_GetUsers_FullMethodName                   = "/auth_v2.API/GetUsers"
	API_ExtractAuthTokens_FullMethodName          = "/auth_v2.API/ExtractAuthTokens"
	API_RestoreAuthToken_FullMethodName           = "/auth_v2.API/RestoreAuthToken"
	API_DeleteExpiredAuthTokens_FullMethodName    = "/auth_v2.API/DeleteExpiredAuthTokens"
	API_RotateRootToken_FullMethodName            = "/auth_v2.API/RotateRootToken"
)

Variables

View Source
var (
	// ErrNotActivated is returned by an Auth API if the Auth service
	// has not been activated.
	//
	// Note: This error message string is matched in the UI. If edited,
	// it also needs to be updated in the UI code
	ErrNotActivated = status.Error(codes.Unimplemented, "the auth service is not activated")

	// ErrAlreadyActivated is returned by Activate if the Auth service
	// is already activated.
	ErrAlreadyActivated = status.Error(codes.Unimplemented, "the auth service is already activated")

	// ErrNotSignedIn indicates that the caller isn't signed in
	//
	// Note: This error message string is matched in the UI. If edited,
	// it also needs to be updated in the UI code
	ErrNotSignedIn = status.Error(codes.Unauthenticated, "no authentication token (try logging in)")

	// ErrNoMetadata is returned by the Auth API if the caller sent a request
	// containing no auth token.
	ErrNoMetadata = status.Error(codes.Internal, "no authentication metadata (try logging in)")

	// ErrBadToken is returned by the Auth API if the caller's token is corrupted
	// or has expired.
	ErrBadToken = status.Error(codes.Unauthenticated, "provided auth token is corrupted or has expired (try logging in again)")

	// ErrExpiredToken is returned by the Auth API if a restored token expired in
	// the past.
	ErrExpiredToken = status.Error(codes.Internal, "token expiration is in the past")
)
View Source
var (
	Permission_name = map[int32]string{
		0:   "PERMISSION_UNKNOWN",
		100: "CLUSTER_MODIFY_BINDINGS",
		101: "CLUSTER_GET_BINDINGS",
		148: "CLUSTER_GET_PACHD_LOGS",
		150: "CLUSTER_GET_LOKI_LOGS",
		102: "CLUSTER_AUTH_ACTIVATE",
		103: "CLUSTER_AUTH_DEACTIVATE",
		104: "CLUSTER_AUTH_GET_CONFIG",
		105: "CLUSTER_AUTH_SET_CONFIG",
		139: "CLUSTER_AUTH_GET_ROBOT_TOKEN",
		109: "CLUSTER_AUTH_MODIFY_GROUP_MEMBERS",
		110: "CLUSTER_AUTH_GET_GROUPS",
		111: "CLUSTER_AUTH_GET_GROUP_USERS",
		112: "CLUSTER_AUTH_EXTRACT_TOKENS",
		113: "CLUSTER_AUTH_RESTORE_TOKEN",
		141: "CLUSTER_AUTH_GET_PERMISSIONS_FOR_PRINCIPAL",
		140: "CLUSTER_AUTH_DELETE_EXPIRED_TOKENS",
		142: "CLUSTER_AUTH_REVOKE_USER_TOKENS",
		147: "CLUSTER_AUTH_ROTATE_ROOT_TOKEN",
		114: "CLUSTER_ENTERPRISE_ACTIVATE",
		115: "CLUSTER_ENTERPRISE_HEARTBEAT",
		116: "CLUSTER_ENTERPRISE_GET_CODE",
		117: "CLUSTER_ENTERPRISE_DEACTIVATE",
		149: "CLUSTER_ENTERPRISE_PAUSE",
		118: "CLUSTER_IDENTITY_SET_CONFIG",
		119: "CLUSTER_IDENTITY_GET_CONFIG",
		120: "CLUSTER_IDENTITY_CREATE_IDP",
		121: "CLUSTER_IDENTITY_UPDATE_IDP",
		122: "CLUSTER_IDENTITY_LIST_IDPS",
		123: "CLUSTER_IDENTITY_GET_IDP",
		124: "CLUSTER_IDENTITY_DELETE_IDP",
		125: "CLUSTER_IDENTITY_CREATE_OIDC_CLIENT",
		126: "CLUSTER_IDENTITY_UPDATE_OIDC_CLIENT",
		127: "CLUSTER_IDENTITY_LIST_OIDC_CLIENTS",
		128: "CLUSTER_IDENTITY_GET_OIDC_CLIENT",
		129: "CLUSTER_IDENTITY_DELETE_OIDC_CLIENT",
		131: "CLUSTER_DEBUG_DUMP",
		132: "CLUSTER_LICENSE_ACTIVATE",
		133: "CLUSTER_LICENSE_GET_CODE",
		134: "CLUSTER_LICENSE_ADD_CLUSTER",
		135: "CLUSTER_LICENSE_UPDATE_CLUSTER",
		136: "CLUSTER_LICENSE_DELETE_CLUSTER",
		137: "CLUSTER_LICENSE_LIST_CLUSTERS",
		143: "CLUSTER_CREATE_SECRET",
		144: "CLUSTER_LIST_SECRETS",
		145: "SECRET_DELETE",
		146: "SECRET_INSPECT",
		138: "CLUSTER_DELETE_ALL",
		200: "REPO_READ",
		201: "REPO_WRITE",
		202: "REPO_MODIFY_BINDINGS",
		203: "REPO_DELETE",
		204: "REPO_INSPECT_COMMIT",
		205: "REPO_LIST_COMMIT",
		206: "REPO_DELETE_COMMIT",
		207: "REPO_CREATE_BRANCH",
		208: "REPO_LIST_BRANCH",
		209: "REPO_DELETE_BRANCH",
		210: "REPO_INSPECT_FILE",
		211: "REPO_LIST_FILE",
		212: "REPO_ADD_PIPELINE_READER",
		213: "REPO_REMOVE_PIPELINE_READER",
		214: "REPO_ADD_PIPELINE_WRITER",
		301: "PIPELINE_LIST_JOB",
		302: "CLUSTER_SET_DEFAULTS",
		400: "PROJECT_CREATE",
		401: "PROJECT_DELETE",
		402: "PROJECT_LIST_REPO",
		403: "PROJECT_CREATE_REPO",
		404: "PROJECT_MODIFY_BINDINGS",
	}
	Permission_value = map[string]int32{
		"PERMISSION_UNKNOWN":                         0,
		"CLUSTER_MODIFY_BINDINGS":                    100,
		"CLUSTER_GET_BINDINGS":                       101,
		"CLUSTER_GET_PACHD_LOGS":                     148,
		"CLUSTER_GET_LOKI_LOGS":                      150,
		"CLUSTER_AUTH_ACTIVATE":                      102,
		"CLUSTER_AUTH_DEACTIVATE":                    103,
		"CLUSTER_AUTH_GET_CONFIG":                    104,
		"CLUSTER_AUTH_SET_CONFIG":                    105,
		"CLUSTER_AUTH_GET_ROBOT_TOKEN":               139,
		"CLUSTER_AUTH_MODIFY_GROUP_MEMBERS":          109,
		"CLUSTER_AUTH_GET_GROUPS":                    110,
		"CLUSTER_AUTH_GET_GROUP_USERS":               111,
		"CLUSTER_AUTH_EXTRACT_TOKENS":                112,
		"CLUSTER_AUTH_RESTORE_TOKEN":                 113,
		"CLUSTER_AUTH_GET_PERMISSIONS_FOR_PRINCIPAL": 141,
		"CLUSTER_AUTH_DELETE_EXPIRED_TOKENS":         140,
		"CLUSTER_AUTH_REVOKE_USER_TOKENS":            142,
		"CLUSTER_AUTH_ROTATE_ROOT_TOKEN":             147,
		"CLUSTER_ENTERPRISE_ACTIVATE":                114,
		"CLUSTER_ENTERPRISE_HEARTBEAT":               115,
		"CLUSTER_ENTERPRISE_GET_CODE":                116,
		"CLUSTER_ENTERPRISE_DEACTIVATE":              117,
		"CLUSTER_ENTERPRISE_PAUSE":                   149,
		"CLUSTER_IDENTITY_SET_CONFIG":                118,
		"CLUSTER_IDENTITY_GET_CONFIG":                119,
		"CLUSTER_IDENTITY_CREATE_IDP":                120,
		"CLUSTER_IDENTITY_UPDATE_IDP":                121,
		"CLUSTER_IDENTITY_LIST_IDPS":                 122,
		"CLUSTER_IDENTITY_GET_IDP":                   123,
		"CLUSTER_IDENTITY_DELETE_IDP":                124,
		"CLUSTER_IDENTITY_CREATE_OIDC_CLIENT":        125,
		"CLUSTER_IDENTITY_UPDATE_OIDC_CLIENT":        126,
		"CLUSTER_IDENTITY_LIST_OIDC_CLIENTS":         127,
		"CLUSTER_IDENTITY_GET_OIDC_CLIENT":           128,
		"CLUSTER_IDENTITY_DELETE_OIDC_CLIENT":        129,
		"CLUSTER_DEBUG_DUMP":                         131,
		"CLUSTER_LICENSE_ACTIVATE":                   132,
		"CLUSTER_LICENSE_GET_CODE":                   133,
		"CLUSTER_LICENSE_ADD_CLUSTER":                134,
		"CLUSTER_LICENSE_UPDATE_CLUSTER":             135,
		"CLUSTER_LICENSE_DELETE_CLUSTER":             136,
		"CLUSTER_LICENSE_LIST_CLUSTERS":              137,
		"CLUSTER_CREATE_SECRET":                      143,
		"CLUSTER_LIST_SECRETS":                       144,
		"SECRET_DELETE":                              145,
		"SECRET_INSPECT":                             146,
		"CLUSTER_DELETE_ALL":                         138,
		"REPO_READ":                                  200,
		"REPO_WRITE":                                 201,
		"REPO_MODIFY_BINDINGS":                       202,
		"REPO_DELETE":                                203,
		"REPO_INSPECT_COMMIT":                        204,
		"REPO_LIST_COMMIT":                           205,
		"REPO_DELETE_COMMIT":                         206,
		"REPO_CREATE_BRANCH":                         207,
		"REPO_LIST_BRANCH":                           208,
		"REPO_DELETE_BRANCH":                         209,
		"REPO_INSPECT_FILE":                          210,
		"REPO_LIST_FILE":                             211,
		"REPO_ADD_PIPELINE_READER":                   212,
		"REPO_REMOVE_PIPELINE_READER":                213,
		"REPO_ADD_PIPELINE_WRITER":                   214,
		"PIPELINE_LIST_JOB":                          301,
		"CLUSTER_SET_DEFAULTS":                       302,
		"PROJECT_CREATE":                             400,
		"PROJECT_DELETE":                             401,
		"PROJECT_LIST_REPO":                          402,
		"PROJECT_CREATE_REPO":                        403,
		"PROJECT_MODIFY_BINDINGS":                    404,
	}
)

Enum value maps for Permission.

View Source
var (
	ResourceType_name = map[int32]string{
		0: "RESOURCE_TYPE_UNKNOWN",
		1: "CLUSTER",
		2: "REPO",
		3: "SPEC_REPO",
		4: "PROJECT",
	}
	ResourceType_value = map[string]int32{
		"RESOURCE_TYPE_UNKNOWN": 0,
		"CLUSTER":               1,
		"REPO":                  2,
		"SPEC_REPO":             3,
		"PROJECT":               4,
	}
)

Enum value maps for ResourceType.

View Source
var API_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "auth_v2.API",
	HandlerType: (*APIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Activate",
			Handler:    _API_Activate_Handler,
		},
		{
			MethodName: "Deactivate",
			Handler:    _API_Deactivate_Handler,
		},
		{
			MethodName: "GetConfiguration",
			Handler:    _API_GetConfiguration_Handler,
		},
		{
			MethodName: "SetConfiguration",
			Handler:    _API_SetConfiguration_Handler,
		},
		{
			MethodName: "Authenticate",
			Handler:    _API_Authenticate_Handler,
		},
		{
			MethodName: "Authorize",
			Handler:    _API_Authorize_Handler,
		},
		{
			MethodName: "GetPermissions",
			Handler:    _API_GetPermissions_Handler,
		},
		{
			MethodName: "GetPermissionsForPrincipal",
			Handler:    _API_GetPermissionsForPrincipal_Handler,
		},
		{
			MethodName: "WhoAmI",
			Handler:    _API_WhoAmI_Handler,
		},
		{
			MethodName: "GetRolesForPermission",
			Handler:    _API_GetRolesForPermission_Handler,
		},
		{
			MethodName: "ModifyRoleBinding",
			Handler:    _API_ModifyRoleBinding_Handler,
		},
		{
			MethodName: "GetRoleBinding",
			Handler:    _API_GetRoleBinding_Handler,
		},
		{
			MethodName: "GetOIDCLogin",
			Handler:    _API_GetOIDCLogin_Handler,
		},
		{
			MethodName: "GetRobotToken",
			Handler:    _API_GetRobotToken_Handler,
		},
		{
			MethodName: "RevokeAuthToken",
			Handler:    _API_RevokeAuthToken_Handler,
		},
		{
			MethodName: "RevokeAuthTokensForUser",
			Handler:    _API_RevokeAuthTokensForUser_Handler,
		},
		{
			MethodName: "SetGroupsForUser",
			Handler:    _API_SetGroupsForUser_Handler,
		},
		{
			MethodName: "ModifyMembers",
			Handler:    _API_ModifyMembers_Handler,
		},
		{
			MethodName: "GetGroups",
			Handler:    _API_GetGroups_Handler,
		},
		{
			MethodName: "GetGroupsForPrincipal",
			Handler:    _API_GetGroupsForPrincipal_Handler,
		},
		{
			MethodName: "GetUsers",
			Handler:    _API_GetUsers_Handler,
		},
		{
			MethodName: "ExtractAuthTokens",
			Handler:    _API_ExtractAuthTokens_Handler,
		},
		{
			MethodName: "RestoreAuthToken",
			Handler:    _API_RestoreAuthToken_Handler,
		},
		{
			MethodName: "DeleteExpiredAuthTokens",
			Handler:    _API_DeleteExpiredAuthTokens_Handler,
		},
		{
			MethodName: "RotateRootToken",
			Handler:    _API_RotateRootToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "auth/auth.proto",
}

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

View Source
var DefaultOIDCScopes = []string{"email", "profile", "groups", oidc.ScopeOpenID}
View Source
var File_auth_auth_proto protoreflect.FileDescriptor

Functions

func GetAuthToken

func GetAuthToken(ctx context.Context) (string, error)

GetAuthToken extracts the auth token embedded in 'ctx', if there is one

func HashToken

func HashToken(token string) string

HashToken converts a token to a cryptographic hash. We don't want to store tokens verbatim in the database, as then whoever that has access to the database has access to all tokens.

func IsErrAlreadyActivated

func IsErrAlreadyActivated(err error) bool

IsErrAlreadyActivated checks if an error is a ErrAlreadyActivated

func IsErrBadToken

func IsErrBadToken(err error) bool

IsErrBadToken returns true if 'err' is a ErrBadToken

func IsErrExpiredToken

func IsErrExpiredToken(err error) bool

IsErrExpiredToken returns true if 'err' is a ErrExpiredToken

func IsErrInvalidPrincipal

func IsErrInvalidPrincipal(err error) bool

IsErrInvalidPrincipal returns true if 'err' is an ErrInvalidPrincipal

func IsErrNoMetadata

func IsErrNoMetadata(err error) bool

IsErrNoMetadata returns true if 'err' is an ErrNoMetadata (uses string comparison to work across RPC boundaries)

func IsErrNoRoleBinding

func IsErrNoRoleBinding(err error) bool

IsErrNoRoleBinding checks if an error is a ErrNoRoleBinding

func IsErrNotActivated

func IsErrNotActivated(err error) bool

IsErrNotActivated checks if an error is a ErrNotActivated

func IsErrNotAuthorized

func IsErrNotAuthorized(err error) bool

IsErrNotAuthorized checks if an error is a ErrNotAuthorized

func IsErrNotSignedIn

func IsErrNotSignedIn(err error) bool

IsErrNotSignedIn returns true if 'err' is a ErrNotSignedIn

func IsErrTooShortTTL

func IsErrTooShortTTL(err error) bool

IsErrTooShortTTL returns true if 'err' is a ErrTooShortTTL

func RegisterAPIServer

func RegisterAPIServer(s grpc.ServiceRegistrar, srv APIServer)

Types

type APIClient

type APIClient interface {
	// Activate/Deactivate the auth API. 'Activate' sets an initial set of admins
	// for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and
	// admins from the Pachyderm cluster, making all data publicly accessable
	Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error)
	Deactivate(ctx context.Context, in *DeactivateRequest, opts ...grpc.CallOption) (*DeactivateResponse, error)
	GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error)
	SetConfiguration(ctx context.Context, in *SetConfigurationRequest, opts ...grpc.CallOption) (*SetConfigurationResponse, error)
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error)
	GetPermissions(ctx context.Context, in *GetPermissionsRequest, opts ...grpc.CallOption) (*GetPermissionsResponse, error)
	GetPermissionsForPrincipal(ctx context.Context, in *GetPermissionsForPrincipalRequest, opts ...grpc.CallOption) (*GetPermissionsResponse, error)
	WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error)
	GetRolesForPermission(ctx context.Context, in *GetRolesForPermissionRequest, opts ...grpc.CallOption) (*GetRolesForPermissionResponse, error)
	ModifyRoleBinding(ctx context.Context, in *ModifyRoleBindingRequest, opts ...grpc.CallOption) (*ModifyRoleBindingResponse, error)
	GetRoleBinding(ctx context.Context, in *GetRoleBindingRequest, opts ...grpc.CallOption) (*GetRoleBindingResponse, error)
	GetOIDCLogin(ctx context.Context, in *GetOIDCLoginRequest, opts ...grpc.CallOption) (*GetOIDCLoginResponse, error)
	GetRobotToken(ctx context.Context, in *GetRobotTokenRequest, opts ...grpc.CallOption) (*GetRobotTokenResponse, error)
	RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, error)
	RevokeAuthTokensForUser(ctx context.Context, in *RevokeAuthTokensForUserRequest, opts ...grpc.CallOption) (*RevokeAuthTokensForUserResponse, error)
	SetGroupsForUser(ctx context.Context, in *SetGroupsForUserRequest, opts ...grpc.CallOption) (*SetGroupsForUserResponse, error)
	ModifyMembers(ctx context.Context, in *ModifyMembersRequest, opts ...grpc.CallOption) (*ModifyMembersResponse, error)
	GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error)
	GetGroupsForPrincipal(ctx context.Context, in *GetGroupsForPrincipalRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error)
	GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error)
	ExtractAuthTokens(ctx context.Context, in *ExtractAuthTokensRequest, opts ...grpc.CallOption) (*ExtractAuthTokensResponse, error)
	RestoreAuthToken(ctx context.Context, in *RestoreAuthTokenRequest, opts ...grpc.CallOption) (*RestoreAuthTokenResponse, error)
	DeleteExpiredAuthTokens(ctx context.Context, in *DeleteExpiredAuthTokensRequest, opts ...grpc.CallOption) (*DeleteExpiredAuthTokensResponse, error)
	RotateRootToken(ctx context.Context, in *RotateRootTokenRequest, opts ...grpc.CallOption) (*RotateRootTokenResponse, error)
}

APIClient is the client API for API 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 NewAPIClient

func NewAPIClient(cc grpc.ClientConnInterface) APIClient

type APIServer

type APIServer interface {
	// Activate/Deactivate the auth API. 'Activate' sets an initial set of admins
	// for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and
	// admins from the Pachyderm cluster, making all data publicly accessable
	Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
	Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error)
	GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
	SetConfiguration(context.Context, *SetConfigurationRequest) (*SetConfigurationResponse, error)
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
	GetPermissions(context.Context, *GetPermissionsRequest) (*GetPermissionsResponse, error)
	GetPermissionsForPrincipal(context.Context, *GetPermissionsForPrincipalRequest) (*GetPermissionsResponse, error)
	WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error)
	GetRolesForPermission(context.Context, *GetRolesForPermissionRequest) (*GetRolesForPermissionResponse, error)
	ModifyRoleBinding(context.Context, *ModifyRoleBindingRequest) (*ModifyRoleBindingResponse, error)
	GetRoleBinding(context.Context, *GetRoleBindingRequest) (*GetRoleBindingResponse, error)
	GetOIDCLogin(context.Context, *GetOIDCLoginRequest) (*GetOIDCLoginResponse, error)
	GetRobotToken(context.Context, *GetRobotTokenRequest) (*GetRobotTokenResponse, error)
	RevokeAuthToken(context.Context, *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
	RevokeAuthTokensForUser(context.Context, *RevokeAuthTokensForUserRequest) (*RevokeAuthTokensForUserResponse, error)
	SetGroupsForUser(context.Context, *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)
	ModifyMembers(context.Context, *ModifyMembersRequest) (*ModifyMembersResponse, error)
	GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
	GetGroupsForPrincipal(context.Context, *GetGroupsForPrincipalRequest) (*GetGroupsResponse, error)
	GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
	ExtractAuthTokens(context.Context, *ExtractAuthTokensRequest) (*ExtractAuthTokensResponse, error)
	RestoreAuthToken(context.Context, *RestoreAuthTokenRequest) (*RestoreAuthTokenResponse, error)
	DeleteExpiredAuthTokens(context.Context, *DeleteExpiredAuthTokensRequest) (*DeleteExpiredAuthTokensResponse, error)
	RotateRootToken(context.Context, *RotateRootTokenRequest) (*RotateRootTokenResponse, error)
	// contains filtered or unexported methods
}

APIServer is the server API for API service. All implementations must embed UnimplementedAPIServer for forward compatibility

type ActivateRequest

type ActivateRequest struct {

	// If set, this token is used as the root user login token. Otherwise the root token
	// is randomly generated and returned in the response.
	RootToken string `protobuf:"bytes,1,opt,name=root_token,json=rootToken,proto3" json:"root_token,omitempty"`
	// contains filtered or unexported fields
}

ActivateRequest enables authentication on the cluster. It issues an auth token with no expiration for the irrevocable admin user `pach:root`.

func (*ActivateRequest) Descriptor deprecated

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

Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.

func (*ActivateRequest) GetRootToken

func (x *ActivateRequest) GetRootToken() string

func (*ActivateRequest) MarshalLogObject

func (x *ActivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) ProtoReflect added in v2.7.0

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

func (*ActivateRequest) Reset

func (x *ActivateRequest) Reset()

func (*ActivateRequest) String

func (x *ActivateRequest) String() string

func (*ActivateRequest) Validate added in v2.8.0

func (m *ActivateRequest) Validate() error

Validate checks the field values on ActivateRequest 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 (*ActivateRequest) ValidateAll added in v2.8.0

func (m *ActivateRequest) ValidateAll() error

ValidateAll checks the field values on ActivateRequest 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 ActivateRequestMultiError, or nil if none found.

type ActivateRequestMultiError added in v2.8.0

type ActivateRequestMultiError []error

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

func (ActivateRequestMultiError) AllErrors added in v2.8.0

func (m ActivateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActivateRequestMultiError) Error added in v2.8.0

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

type ActivateRequestValidationError added in v2.8.0

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

ActivateRequestValidationError is the validation error returned by ActivateRequest.Validate if the designated constraints aren't met.

func (ActivateRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ActivateRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ActivateRequestValidationError) ErrorName added in v2.8.0

func (e ActivateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ActivateRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (ActivateRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (ActivateRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ActivateResponse

type ActivateResponse struct {

	// pach_token authenticates the caller with Pachyderm (if you want to perform
	// Pachyderm operations after auth has been activated as themselves, you must
	// present this token along with your regular request)
	PachToken string `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateResponse) Descriptor deprecated

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

Deprecated: Use ActivateResponse.ProtoReflect.Descriptor instead.

func (*ActivateResponse) GetPachToken

func (x *ActivateResponse) GetPachToken() string

func (*ActivateResponse) MarshalLogObject

func (x *ActivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ActivateResponse) ProtoMessage

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) ProtoReflect added in v2.7.0

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

func (*ActivateResponse) Reset

func (x *ActivateResponse) Reset()

func (*ActivateResponse) String

func (x *ActivateResponse) String() string

func (*ActivateResponse) Validate added in v2.8.0

func (m *ActivateResponse) Validate() error

Validate checks the field values on ActivateResponse 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 (*ActivateResponse) ValidateAll added in v2.8.0

func (m *ActivateResponse) ValidateAll() error

ValidateAll checks the field values on ActivateResponse 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 ActivateResponseMultiError, or nil if none found.

type ActivateResponseMultiError added in v2.8.0

type ActivateResponseMultiError []error

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

func (ActivateResponseMultiError) AllErrors added in v2.8.0

func (m ActivateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ActivateResponseMultiError) Error added in v2.8.0

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

type ActivateResponseValidationError added in v2.8.0

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

ActivateResponseValidationError is the validation error returned by ActivateResponse.Validate if the designated constraints aren't met.

func (ActivateResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ActivateResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ActivateResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ActivateResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (ActivateResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (ActivateResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type AuthenticateRequest

type AuthenticateRequest struct {

	// This is the session state that Pachyderm creates in order to keep track of
	// information related to the current OIDC session.
	OidcState string `protobuf:"bytes,1,opt,name=oidc_state,json=oidcState,proto3" json:"oidc_state,omitempty"`
	// This is an ID Token issued by the OIDC provider.
	IdToken string `protobuf:"bytes,2,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateRequest) Descriptor deprecated

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

Deprecated: Use AuthenticateRequest.ProtoReflect.Descriptor instead.

func (*AuthenticateRequest) GetIdToken

func (x *AuthenticateRequest) GetIdToken() string

func (*AuthenticateRequest) GetOidcState added in v2.7.0

func (x *AuthenticateRequest) GetOidcState() string

func (*AuthenticateRequest) MarshalLogObject

func (x *AuthenticateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) ProtoReflect added in v2.7.0

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

func (*AuthenticateRequest) Reset

func (x *AuthenticateRequest) Reset()

func (*AuthenticateRequest) String

func (x *AuthenticateRequest) String() string

func (*AuthenticateRequest) Validate added in v2.8.0

func (m *AuthenticateRequest) Validate() error

Validate checks the field values on AuthenticateRequest 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 (*AuthenticateRequest) ValidateAll added in v2.8.0

func (m *AuthenticateRequest) ValidateAll() error

ValidateAll checks the field values on AuthenticateRequest 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 AuthenticateRequestMultiError, or nil if none found.

type AuthenticateRequestMultiError added in v2.8.0

type AuthenticateRequestMultiError []error

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

func (AuthenticateRequestMultiError) AllErrors added in v2.8.0

func (m AuthenticateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticateRequestMultiError) Error added in v2.8.0

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

type AuthenticateRequestValidationError added in v2.8.0

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

AuthenticateRequestValidationError is the validation error returned by AuthenticateRequest.Validate if the designated constraints aren't met.

func (AuthenticateRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (AuthenticateRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (AuthenticateRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (AuthenticateRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (AuthenticateRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (AuthenticateRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type AuthenticateResponse

type AuthenticateResponse struct {

	// pach_token authenticates the caller with Pachyderm (if you want to perform
	// Pachyderm operations after auth has been activated as themselves, you must
	// present this token along with your regular request)
	PachToken string `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthenticateResponse) Descriptor deprecated

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

Deprecated: Use AuthenticateResponse.ProtoReflect.Descriptor instead.

func (*AuthenticateResponse) GetPachToken

func (x *AuthenticateResponse) GetPachToken() string

func (*AuthenticateResponse) MarshalLogObject

func (x *AuthenticateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) ProtoReflect added in v2.7.0

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

func (*AuthenticateResponse) Reset

func (x *AuthenticateResponse) Reset()

func (*AuthenticateResponse) String

func (x *AuthenticateResponse) String() string

func (*AuthenticateResponse) Validate added in v2.8.0

func (m *AuthenticateResponse) Validate() error

Validate checks the field values on AuthenticateResponse 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 (*AuthenticateResponse) ValidateAll added in v2.8.0

func (m *AuthenticateResponse) ValidateAll() error

ValidateAll checks the field values on AuthenticateResponse 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 AuthenticateResponseMultiError, or nil if none found.

type AuthenticateResponseMultiError added in v2.8.0

type AuthenticateResponseMultiError []error

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

func (AuthenticateResponseMultiError) AllErrors added in v2.8.0

func (m AuthenticateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthenticateResponseMultiError) Error added in v2.8.0

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

type AuthenticateResponseValidationError added in v2.8.0

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

AuthenticateResponseValidationError is the validation error returned by AuthenticateResponse.Validate if the designated constraints aren't met.

func (AuthenticateResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (AuthenticateResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (AuthenticateResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (AuthenticateResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (AuthenticateResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (AuthenticateResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type AuthorizeRequest

type AuthorizeRequest struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// permissions are the operations the caller is attempting to perform
	Permissions []Permission `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=auth_v2.Permission" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeRequest) Descriptor deprecated

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

Deprecated: Use AuthorizeRequest.ProtoReflect.Descriptor instead.

func (*AuthorizeRequest) GetPermissions

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

func (*AuthorizeRequest) GetResource

func (x *AuthorizeRequest) GetResource() *Resource

func (*AuthorizeRequest) MarshalLogObject

func (x *AuthorizeRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AuthorizeRequest) ProtoMessage

func (*AuthorizeRequest) ProtoMessage()

func (*AuthorizeRequest) ProtoReflect added in v2.7.0

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

func (*AuthorizeRequest) Reset

func (x *AuthorizeRequest) Reset()

func (*AuthorizeRequest) String

func (x *AuthorizeRequest) String() string

func (*AuthorizeRequest) Validate added in v2.8.0

func (m *AuthorizeRequest) Validate() error

Validate checks the field values on AuthorizeRequest 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 (*AuthorizeRequest) ValidateAll added in v2.8.0

func (m *AuthorizeRequest) ValidateAll() error

ValidateAll checks the field values on AuthorizeRequest 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 AuthorizeRequestMultiError, or nil if none found.

type AuthorizeRequestMultiError added in v2.8.0

type AuthorizeRequestMultiError []error

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

func (AuthorizeRequestMultiError) AllErrors added in v2.8.0

func (m AuthorizeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizeRequestMultiError) Error added in v2.8.0

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

type AuthorizeRequestValidationError added in v2.8.0

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

AuthorizeRequestValidationError is the validation error returned by AuthorizeRequest.Validate if the designated constraints aren't met.

func (AuthorizeRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (AuthorizeRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (AuthorizeRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (AuthorizeRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (AuthorizeRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (AuthorizeRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type AuthorizeResponse

type AuthorizeResponse struct {

	// authorized is true if the caller has the require permissions
	Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
	// satisfied is the set of permission that the principal has
	Satisfied []Permission `protobuf:"varint,2,rep,packed,name=satisfied,proto3,enum=auth_v2.Permission" json:"satisfied,omitempty"`
	// missing is the set of permissions that the principal lacks
	Missing []Permission `protobuf:"varint,3,rep,packed,name=missing,proto3,enum=auth_v2.Permission" json:"missing,omitempty"`
	// principal is the principal the request was evaluated for
	Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizeResponse) Descriptor deprecated

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

Deprecated: Use AuthorizeResponse.ProtoReflect.Descriptor instead.

func (*AuthorizeResponse) GetAuthorized

func (x *AuthorizeResponse) GetAuthorized() bool

func (*AuthorizeResponse) GetMissing

func (x *AuthorizeResponse) GetMissing() []Permission

func (*AuthorizeResponse) GetPrincipal

func (x *AuthorizeResponse) GetPrincipal() string

func (*AuthorizeResponse) GetSatisfied

func (x *AuthorizeResponse) GetSatisfied() []Permission

func (*AuthorizeResponse) MarshalLogObject

func (x *AuthorizeResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*AuthorizeResponse) ProtoMessage

func (*AuthorizeResponse) ProtoMessage()

func (*AuthorizeResponse) ProtoReflect added in v2.7.0

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

func (*AuthorizeResponse) Reset

func (x *AuthorizeResponse) Reset()

func (*AuthorizeResponse) String

func (x *AuthorizeResponse) String() string

func (*AuthorizeResponse) Validate added in v2.8.0

func (m *AuthorizeResponse) Validate() error

Validate checks the field values on AuthorizeResponse 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 (*AuthorizeResponse) ValidateAll added in v2.8.0

func (m *AuthorizeResponse) ValidateAll() error

ValidateAll checks the field values on AuthorizeResponse 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 AuthorizeResponseMultiError, or nil if none found.

type AuthorizeResponseMultiError added in v2.8.0

type AuthorizeResponseMultiError []error

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

func (AuthorizeResponseMultiError) AllErrors added in v2.8.0

func (m AuthorizeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizeResponseMultiError) Error added in v2.8.0

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

type AuthorizeResponseValidationError added in v2.8.0

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

AuthorizeResponseValidationError is the validation error returned by AuthorizeResponse.Validate if the designated constraints aren't met.

func (AuthorizeResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (AuthorizeResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (AuthorizeResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (AuthorizeResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (AuthorizeResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (AuthorizeResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type DeactivateRequest

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

func (*DeactivateRequest) Descriptor deprecated

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

Deprecated: Use DeactivateRequest.ProtoReflect.Descriptor instead.

func (*DeactivateRequest) MarshalLogObject

func (x *DeactivateRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeactivateRequest) ProtoMessage

func (*DeactivateRequest) ProtoMessage()

func (*DeactivateRequest) ProtoReflect added in v2.7.0

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

func (*DeactivateRequest) Reset

func (x *DeactivateRequest) Reset()

func (*DeactivateRequest) String

func (x *DeactivateRequest) String() string

func (*DeactivateRequest) Validate added in v2.8.0

func (m *DeactivateRequest) Validate() error

Validate checks the field values on DeactivateRequest 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 (*DeactivateRequest) ValidateAll added in v2.8.0

func (m *DeactivateRequest) ValidateAll() error

ValidateAll checks the field values on DeactivateRequest 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 DeactivateRequestMultiError, or nil if none found.

type DeactivateRequestMultiError added in v2.8.0

type DeactivateRequestMultiError []error

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

func (DeactivateRequestMultiError) AllErrors added in v2.8.0

func (m DeactivateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeactivateRequestMultiError) Error added in v2.8.0

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

type DeactivateRequestValidationError added in v2.8.0

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

DeactivateRequestValidationError is the validation error returned by DeactivateRequest.Validate if the designated constraints aren't met.

func (DeactivateRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (DeactivateRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (DeactivateRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (DeactivateRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (DeactivateRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (DeactivateRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type DeactivateResponse

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

func (*DeactivateResponse) Descriptor deprecated

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

Deprecated: Use DeactivateResponse.ProtoReflect.Descriptor instead.

func (*DeactivateResponse) MarshalLogObject

func (x *DeactivateResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeactivateResponse) ProtoMessage

func (*DeactivateResponse) ProtoMessage()

func (*DeactivateResponse) ProtoReflect added in v2.7.0

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

func (*DeactivateResponse) Reset

func (x *DeactivateResponse) Reset()

func (*DeactivateResponse) String

func (x *DeactivateResponse) String() string

func (*DeactivateResponse) Validate added in v2.8.0

func (m *DeactivateResponse) Validate() error

Validate checks the field values on DeactivateResponse 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 (*DeactivateResponse) ValidateAll added in v2.8.0

func (m *DeactivateResponse) ValidateAll() error

ValidateAll checks the field values on DeactivateResponse 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 DeactivateResponseMultiError, or nil if none found.

type DeactivateResponseMultiError added in v2.8.0

type DeactivateResponseMultiError []error

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

func (DeactivateResponseMultiError) AllErrors added in v2.8.0

func (m DeactivateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeactivateResponseMultiError) Error added in v2.8.0

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

type DeactivateResponseValidationError added in v2.8.0

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

DeactivateResponseValidationError is the validation error returned by DeactivateResponse.Validate if the designated constraints aren't met.

func (DeactivateResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (DeactivateResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (DeactivateResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (DeactivateResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (DeactivateResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (DeactivateResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type DeleteExpiredAuthTokensRequest

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

func (*DeleteExpiredAuthTokensRequest) Descriptor deprecated

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

Deprecated: Use DeleteExpiredAuthTokensRequest.ProtoReflect.Descriptor instead.

func (*DeleteExpiredAuthTokensRequest) MarshalLogObject

func (x *DeleteExpiredAuthTokensRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*DeleteExpiredAuthTokensRequest) ProtoMessage

func (*DeleteExpiredAuthTokensRequest) ProtoMessage()

func (*DeleteExpiredAuthTokensRequest) ProtoReflect added in v2.7.0

func (*DeleteExpiredAuthTokensRequest) Reset

func (x *DeleteExpiredAuthTokensRequest) Reset()

func (*DeleteExpiredAuthTokensRequest) String

func (*DeleteExpiredAuthTokensRequest) Validate added in v2.8.0

func (m *DeleteExpiredAuthTokensRequest) Validate() error

Validate checks the field values on DeleteExpiredAuthTokensRequest 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 (*DeleteExpiredAuthTokensRequest) ValidateAll added in v2.8.0

func (m *DeleteExpiredAuthTokensRequest) ValidateAll() error

ValidateAll checks the field values on DeleteExpiredAuthTokensRequest 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 DeleteExpiredAuthTokensRequestMultiError, or nil if none found.

type DeleteExpiredAuthTokensRequestMultiError added in v2.8.0

type DeleteExpiredAuthTokensRequestMultiError []error

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

func (DeleteExpiredAuthTokensRequestMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (DeleteExpiredAuthTokensRequestMultiError) Error added in v2.8.0

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

type DeleteExpiredAuthTokensRequestValidationError added in v2.8.0

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

DeleteExpiredAuthTokensRequestValidationError is the validation error returned by DeleteExpiredAuthTokensRequest.Validate if the designated constraints aren't met.

func (DeleteExpiredAuthTokensRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (DeleteExpiredAuthTokensRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (DeleteExpiredAuthTokensRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (DeleteExpiredAuthTokensRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (DeleteExpiredAuthTokensRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (DeleteExpiredAuthTokensRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type DeleteExpiredAuthTokensResponse

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

func (*DeleteExpiredAuthTokensResponse) Descriptor deprecated

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

Deprecated: Use DeleteExpiredAuthTokensResponse.ProtoReflect.Descriptor instead.

func (*DeleteExpiredAuthTokensResponse) MarshalLogObject

func (*DeleteExpiredAuthTokensResponse) ProtoMessage

func (*DeleteExpiredAuthTokensResponse) ProtoMessage()

func (*DeleteExpiredAuthTokensResponse) ProtoReflect added in v2.7.0

func (*DeleteExpiredAuthTokensResponse) Reset

func (*DeleteExpiredAuthTokensResponse) String

func (*DeleteExpiredAuthTokensResponse) Validate added in v2.8.0

func (m *DeleteExpiredAuthTokensResponse) Validate() error

Validate checks the field values on DeleteExpiredAuthTokensResponse 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 (*DeleteExpiredAuthTokensResponse) ValidateAll added in v2.8.0

func (m *DeleteExpiredAuthTokensResponse) ValidateAll() error

ValidateAll checks the field values on DeleteExpiredAuthTokensResponse 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 DeleteExpiredAuthTokensResponseMultiError, or nil if none found.

type DeleteExpiredAuthTokensResponseMultiError added in v2.8.0

type DeleteExpiredAuthTokensResponseMultiError []error

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

func (DeleteExpiredAuthTokensResponseMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (DeleteExpiredAuthTokensResponseMultiError) Error added in v2.8.0

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

type DeleteExpiredAuthTokensResponseValidationError added in v2.8.0

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

DeleteExpiredAuthTokensResponseValidationError is the validation error returned by DeleteExpiredAuthTokensResponse.Validate if the designated constraints aren't met.

func (DeleteExpiredAuthTokensResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (DeleteExpiredAuthTokensResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (DeleteExpiredAuthTokensResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (DeleteExpiredAuthTokensResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (DeleteExpiredAuthTokensResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (DeleteExpiredAuthTokensResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ErrInvalidPrincipal

type ErrInvalidPrincipal struct {
	Principal string
}

ErrInvalidPrincipal indicates that a an argument to e.g. GetScope, SetScope, or SetACL is invalid

func (*ErrInvalidPrincipal) Error

func (e *ErrInvalidPrincipal) Error() string

type ErrNoRoleBinding

type ErrNoRoleBinding struct {
	Resource *Resource
}

ErrNoRoleBinding is returned if no role binding exists for a resource.

func (*ErrNoRoleBinding) Error

func (e *ErrNoRoleBinding) Error() string

type ErrNotAuthorized

type ErrNotAuthorized struct {
	Subject string // subject trying to perform blocked operation -- always set

	Resource *Resource    // Resource that the user is attempting to access
	Required []Permission // Caller needs 'Required'-level access to 'Resource'
}

ErrNotAuthorized is returned if the user is not authorized to perform a certain operation.

func (*ErrNotAuthorized) Error

func (e *ErrNotAuthorized) Error() string

func (*ErrNotAuthorized) GRPCStatus added in v2.7.0

func (e *ErrNotAuthorized) GRPCStatus() *status.Status

Implement the interface expected by status.FromError. An ErrNotAuthorized is a permission-denied status.

type ErrTooShortTTL

type ErrTooShortTTL struct {
	RequestTTL, ExistingTTL int64
}

ErrTooShortTTL is returned by the ExtendAuthToken if request.Token already has a TTL longer than request.TTL.

func (ErrTooShortTTL) Error

func (e ErrTooShortTTL) Error() string

type ExtractAuthTokensRequest

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

ExtractAuthTokens returns all the hashed robot tokens that have been issued. User tokens are not extracted as they can be recreated by logging in.

func (*ExtractAuthTokensRequest) Descriptor deprecated

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

Deprecated: Use ExtractAuthTokensRequest.ProtoReflect.Descriptor instead.

func (*ExtractAuthTokensRequest) MarshalLogObject

func (x *ExtractAuthTokensRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ExtractAuthTokensRequest) ProtoMessage

func (*ExtractAuthTokensRequest) ProtoMessage()

func (*ExtractAuthTokensRequest) ProtoReflect added in v2.7.0

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

func (*ExtractAuthTokensRequest) Reset

func (x *ExtractAuthTokensRequest) Reset()

func (*ExtractAuthTokensRequest) String

func (x *ExtractAuthTokensRequest) String() string

func (*ExtractAuthTokensRequest) Validate added in v2.8.0

func (m *ExtractAuthTokensRequest) Validate() error

Validate checks the field values on ExtractAuthTokensRequest 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 (*ExtractAuthTokensRequest) ValidateAll added in v2.8.0

func (m *ExtractAuthTokensRequest) ValidateAll() error

ValidateAll checks the field values on ExtractAuthTokensRequest 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 ExtractAuthTokensRequestMultiError, or nil if none found.

type ExtractAuthTokensRequestMultiError added in v2.8.0

type ExtractAuthTokensRequestMultiError []error

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

func (ExtractAuthTokensRequestMultiError) AllErrors added in v2.8.0

func (m ExtractAuthTokensRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExtractAuthTokensRequestMultiError) Error added in v2.8.0

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

type ExtractAuthTokensRequestValidationError added in v2.8.0

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

ExtractAuthTokensRequestValidationError is the validation error returned by ExtractAuthTokensRequest.Validate if the designated constraints aren't met.

func (ExtractAuthTokensRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ExtractAuthTokensRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ExtractAuthTokensRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ExtractAuthTokensRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (ExtractAuthTokensRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (ExtractAuthTokensRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ExtractAuthTokensResponse

type ExtractAuthTokensResponse struct {
	Tokens []*TokenInfo `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ExtractAuthTokensResponse) Descriptor deprecated

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

Deprecated: Use ExtractAuthTokensResponse.ProtoReflect.Descriptor instead.

func (*ExtractAuthTokensResponse) GetTokens

func (x *ExtractAuthTokensResponse) GetTokens() []*TokenInfo

func (*ExtractAuthTokensResponse) MarshalLogObject

func (x *ExtractAuthTokensResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ExtractAuthTokensResponse) ProtoMessage

func (*ExtractAuthTokensResponse) ProtoMessage()

func (*ExtractAuthTokensResponse) ProtoReflect added in v2.7.0

func (*ExtractAuthTokensResponse) Reset

func (x *ExtractAuthTokensResponse) Reset()

func (*ExtractAuthTokensResponse) String

func (x *ExtractAuthTokensResponse) String() string

func (*ExtractAuthTokensResponse) Validate added in v2.8.0

func (m *ExtractAuthTokensResponse) Validate() error

Validate checks the field values on ExtractAuthTokensResponse 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 (*ExtractAuthTokensResponse) ValidateAll added in v2.8.0

func (m *ExtractAuthTokensResponse) ValidateAll() error

ValidateAll checks the field values on ExtractAuthTokensResponse 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 ExtractAuthTokensResponseMultiError, or nil if none found.

type ExtractAuthTokensResponseMultiError added in v2.8.0

type ExtractAuthTokensResponseMultiError []error

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

func (ExtractAuthTokensResponseMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (ExtractAuthTokensResponseMultiError) Error added in v2.8.0

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

type ExtractAuthTokensResponseValidationError added in v2.8.0

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

ExtractAuthTokensResponseValidationError is the validation error returned by ExtractAuthTokensResponse.Validate if the designated constraints aren't met.

func (ExtractAuthTokensResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ExtractAuthTokensResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ExtractAuthTokensResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ExtractAuthTokensResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (ExtractAuthTokensResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (ExtractAuthTokensResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetConfigurationRequest

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

func (*GetConfigurationRequest) Descriptor deprecated

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

Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetConfigurationRequest) MarshalLogObject

func (x *GetConfigurationRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetConfigurationRequest) ProtoMessage

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) ProtoReflect added in v2.7.0

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

func (*GetConfigurationRequest) Reset

func (x *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) String

func (x *GetConfigurationRequest) String() string

func (*GetConfigurationRequest) Validate added in v2.8.0

func (m *GetConfigurationRequest) Validate() error

Validate checks the field values on GetConfigurationRequest 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 (*GetConfigurationRequest) ValidateAll added in v2.8.0

func (m *GetConfigurationRequest) ValidateAll() error

ValidateAll checks the field values on GetConfigurationRequest 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 GetConfigurationRequestMultiError, or nil if none found.

type GetConfigurationRequestMultiError added in v2.8.0

type GetConfigurationRequestMultiError []error

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

func (GetConfigurationRequestMultiError) AllErrors added in v2.8.0

func (m GetConfigurationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigurationRequestMultiError) Error added in v2.8.0

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

type GetConfigurationRequestValidationError added in v2.8.0

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

GetConfigurationRequestValidationError is the validation error returned by GetConfigurationRequest.Validate if the designated constraints aren't met.

func (GetConfigurationRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetConfigurationRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetConfigurationRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetConfigurationRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetConfigurationRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetConfigurationRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetConfigurationResponse

type GetConfigurationResponse struct {
	Configuration *OIDCConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigurationResponse) Descriptor deprecated

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

Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.

func (*GetConfigurationResponse) GetConfiguration

func (x *GetConfigurationResponse) GetConfiguration() *OIDCConfig

func (*GetConfigurationResponse) MarshalLogObject

func (x *GetConfigurationResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetConfigurationResponse) ProtoMessage

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) ProtoReflect added in v2.7.0

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

func (*GetConfigurationResponse) Reset

func (x *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) String

func (x *GetConfigurationResponse) String() string

func (*GetConfigurationResponse) Validate added in v2.8.0

func (m *GetConfigurationResponse) Validate() error

Validate checks the field values on GetConfigurationResponse 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 (*GetConfigurationResponse) ValidateAll added in v2.8.0

func (m *GetConfigurationResponse) ValidateAll() error

ValidateAll checks the field values on GetConfigurationResponse 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 GetConfigurationResponseMultiError, or nil if none found.

type GetConfigurationResponseMultiError added in v2.8.0

type GetConfigurationResponseMultiError []error

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

func (GetConfigurationResponseMultiError) AllErrors added in v2.8.0

func (m GetConfigurationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetConfigurationResponseMultiError) Error added in v2.8.0

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

type GetConfigurationResponseValidationError added in v2.8.0

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

GetConfigurationResponseValidationError is the validation error returned by GetConfigurationResponse.Validate if the designated constraints aren't met.

func (GetConfigurationResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetConfigurationResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetConfigurationResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetConfigurationResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetConfigurationResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetConfigurationResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetGroupsForPrincipalRequest

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

func (*GetGroupsForPrincipalRequest) Descriptor deprecated

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

Deprecated: Use GetGroupsForPrincipalRequest.ProtoReflect.Descriptor instead.

func (*GetGroupsForPrincipalRequest) GetPrincipal

func (x *GetGroupsForPrincipalRequest) GetPrincipal() string

func (*GetGroupsForPrincipalRequest) MarshalLogObject

func (x *GetGroupsForPrincipalRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetGroupsForPrincipalRequest) ProtoMessage

func (*GetGroupsForPrincipalRequest) ProtoMessage()

func (*GetGroupsForPrincipalRequest) ProtoReflect added in v2.7.0

func (*GetGroupsForPrincipalRequest) Reset

func (x *GetGroupsForPrincipalRequest) Reset()

func (*GetGroupsForPrincipalRequest) String

func (*GetGroupsForPrincipalRequest) Validate added in v2.8.0

func (m *GetGroupsForPrincipalRequest) Validate() error

Validate checks the field values on GetGroupsForPrincipalRequest 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 (*GetGroupsForPrincipalRequest) ValidateAll added in v2.8.0

func (m *GetGroupsForPrincipalRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupsForPrincipalRequest 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 GetGroupsForPrincipalRequestMultiError, or nil if none found.

type GetGroupsForPrincipalRequestMultiError added in v2.8.0

type GetGroupsForPrincipalRequestMultiError []error

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

func (GetGroupsForPrincipalRequestMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (GetGroupsForPrincipalRequestMultiError) Error added in v2.8.0

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

type GetGroupsForPrincipalRequestValidationError added in v2.8.0

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

GetGroupsForPrincipalRequestValidationError is the validation error returned by GetGroupsForPrincipalRequest.Validate if the designated constraints aren't met.

func (GetGroupsForPrincipalRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetGroupsForPrincipalRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetGroupsForPrincipalRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetGroupsForPrincipalRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetGroupsForPrincipalRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetGroupsForPrincipalRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetGroupsRequest

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

func (*GetGroupsRequest) Descriptor deprecated

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

Deprecated: Use GetGroupsRequest.ProtoReflect.Descriptor instead.

func (*GetGroupsRequest) MarshalLogObject

func (x *GetGroupsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetGroupsRequest) ProtoMessage

func (*GetGroupsRequest) ProtoMessage()

func (*GetGroupsRequest) ProtoReflect added in v2.7.0

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

func (*GetGroupsRequest) Reset

func (x *GetGroupsRequest) Reset()

func (*GetGroupsRequest) String

func (x *GetGroupsRequest) String() string

func (*GetGroupsRequest) Validate added in v2.8.0

func (m *GetGroupsRequest) Validate() error

Validate checks the field values on GetGroupsRequest 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 (*GetGroupsRequest) ValidateAll added in v2.8.0

func (m *GetGroupsRequest) ValidateAll() error

ValidateAll checks the field values on GetGroupsRequest 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 GetGroupsRequestMultiError, or nil if none found.

type GetGroupsRequestMultiError added in v2.8.0

type GetGroupsRequestMultiError []error

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

func (GetGroupsRequestMultiError) AllErrors added in v2.8.0

func (m GetGroupsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupsRequestMultiError) Error added in v2.8.0

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

type GetGroupsRequestValidationError added in v2.8.0

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

GetGroupsRequestValidationError is the validation error returned by GetGroupsRequest.Validate if the designated constraints aren't met.

func (GetGroupsRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetGroupsRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetGroupsRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetGroupsRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetGroupsRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetGroupsRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetGroupsResponse

type GetGroupsResponse struct {
	Groups []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGroupsResponse) Descriptor deprecated

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

Deprecated: Use GetGroupsResponse.ProtoReflect.Descriptor instead.

func (*GetGroupsResponse) GetGroups

func (x *GetGroupsResponse) GetGroups() []string

func (*GetGroupsResponse) MarshalLogObject

func (x *GetGroupsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetGroupsResponse) ProtoMessage

func (*GetGroupsResponse) ProtoMessage()

func (*GetGroupsResponse) ProtoReflect added in v2.7.0

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

func (*GetGroupsResponse) Reset

func (x *GetGroupsResponse) Reset()

func (*GetGroupsResponse) String

func (x *GetGroupsResponse) String() string

func (*GetGroupsResponse) Validate added in v2.8.0

func (m *GetGroupsResponse) Validate() error

Validate checks the field values on GetGroupsResponse 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 (*GetGroupsResponse) ValidateAll added in v2.8.0

func (m *GetGroupsResponse) ValidateAll() error

ValidateAll checks the field values on GetGroupsResponse 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 GetGroupsResponseMultiError, or nil if none found.

type GetGroupsResponseMultiError added in v2.8.0

type GetGroupsResponseMultiError []error

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

func (GetGroupsResponseMultiError) AllErrors added in v2.8.0

func (m GetGroupsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetGroupsResponseMultiError) Error added in v2.8.0

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

type GetGroupsResponseValidationError added in v2.8.0

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

GetGroupsResponseValidationError is the validation error returned by GetGroupsResponse.Validate if the designated constraints aren't met.

func (GetGroupsResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetGroupsResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetGroupsResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetGroupsResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetGroupsResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetGroupsResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetOIDCLoginRequest

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

func (*GetOIDCLoginRequest) Descriptor deprecated

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

Deprecated: Use GetOIDCLoginRequest.ProtoReflect.Descriptor instead.

func (*GetOIDCLoginRequest) MarshalLogObject

func (x *GetOIDCLoginRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetOIDCLoginRequest) ProtoMessage

func (*GetOIDCLoginRequest) ProtoMessage()

func (*GetOIDCLoginRequest) ProtoReflect added in v2.7.0

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

func (*GetOIDCLoginRequest) Reset

func (x *GetOIDCLoginRequest) Reset()

func (*GetOIDCLoginRequest) String

func (x *GetOIDCLoginRequest) String() string

func (*GetOIDCLoginRequest) Validate added in v2.8.0

func (m *GetOIDCLoginRequest) Validate() error

Validate checks the field values on GetOIDCLoginRequest 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 (*GetOIDCLoginRequest) ValidateAll added in v2.8.0

func (m *GetOIDCLoginRequest) ValidateAll() error

ValidateAll checks the field values on GetOIDCLoginRequest 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 GetOIDCLoginRequestMultiError, or nil if none found.

type GetOIDCLoginRequestMultiError added in v2.8.0

type GetOIDCLoginRequestMultiError []error

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

func (GetOIDCLoginRequestMultiError) AllErrors added in v2.8.0

func (m GetOIDCLoginRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOIDCLoginRequestMultiError) Error added in v2.8.0

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

type GetOIDCLoginRequestValidationError added in v2.8.0

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

GetOIDCLoginRequestValidationError is the validation error returned by GetOIDCLoginRequest.Validate if the designated constraints aren't met.

func (GetOIDCLoginRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetOIDCLoginRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetOIDCLoginRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetOIDCLoginRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetOIDCLoginRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetOIDCLoginRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetOIDCLoginResponse

type GetOIDCLoginResponse struct {

	// The login URL generated for the OIDC object
	LoginUrl string `protobuf:"bytes,1,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"`
	State    string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOIDCLoginResponse) Descriptor deprecated

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

Deprecated: Use GetOIDCLoginResponse.ProtoReflect.Descriptor instead.

func (*GetOIDCLoginResponse) GetLoginUrl added in v2.7.0

func (x *GetOIDCLoginResponse) GetLoginUrl() string

func (*GetOIDCLoginResponse) GetState

func (x *GetOIDCLoginResponse) GetState() string

func (*GetOIDCLoginResponse) MarshalLogObject

func (x *GetOIDCLoginResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetOIDCLoginResponse) ProtoMessage

func (*GetOIDCLoginResponse) ProtoMessage()

func (*GetOIDCLoginResponse) ProtoReflect added in v2.7.0

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

func (*GetOIDCLoginResponse) Reset

func (x *GetOIDCLoginResponse) Reset()

func (*GetOIDCLoginResponse) String

func (x *GetOIDCLoginResponse) String() string

func (*GetOIDCLoginResponse) Validate added in v2.8.0

func (m *GetOIDCLoginResponse) Validate() error

Validate checks the field values on GetOIDCLoginResponse 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 (*GetOIDCLoginResponse) ValidateAll added in v2.8.0

func (m *GetOIDCLoginResponse) ValidateAll() error

ValidateAll checks the field values on GetOIDCLoginResponse 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 GetOIDCLoginResponseMultiError, or nil if none found.

type GetOIDCLoginResponseMultiError added in v2.8.0

type GetOIDCLoginResponseMultiError []error

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

func (GetOIDCLoginResponseMultiError) AllErrors added in v2.8.0

func (m GetOIDCLoginResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetOIDCLoginResponseMultiError) Error added in v2.8.0

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

type GetOIDCLoginResponseValidationError added in v2.8.0

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

GetOIDCLoginResponseValidationError is the validation error returned by GetOIDCLoginResponse.Validate if the designated constraints aren't met.

func (GetOIDCLoginResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetOIDCLoginResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetOIDCLoginResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetOIDCLoginResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetOIDCLoginResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetOIDCLoginResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetPermissionsForPrincipalRequest

type GetPermissionsForPrincipalRequest struct {
	Resource  *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	Principal string    `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// contains filtered or unexported fields
}

GetPermissionsForPrincipal evaluates an arbitrary principal's permissions on a resource

func (*GetPermissionsForPrincipalRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionsForPrincipalRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionsForPrincipalRequest) GetPrincipal

func (x *GetPermissionsForPrincipalRequest) GetPrincipal() string

func (*GetPermissionsForPrincipalRequest) GetResource

func (x *GetPermissionsForPrincipalRequest) GetResource() *Resource

func (*GetPermissionsForPrincipalRequest) MarshalLogObject

func (*GetPermissionsForPrincipalRequest) ProtoMessage

func (*GetPermissionsForPrincipalRequest) ProtoMessage()

func (*GetPermissionsForPrincipalRequest) ProtoReflect added in v2.7.0

func (*GetPermissionsForPrincipalRequest) Reset

func (*GetPermissionsForPrincipalRequest) String

func (*GetPermissionsForPrincipalRequest) Validate added in v2.8.0

Validate checks the field values on GetPermissionsForPrincipalRequest 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 (*GetPermissionsForPrincipalRequest) ValidateAll added in v2.8.0

func (m *GetPermissionsForPrincipalRequest) ValidateAll() error

ValidateAll checks the field values on GetPermissionsForPrincipalRequest 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 GetPermissionsForPrincipalRequestMultiError, or nil if none found.

type GetPermissionsForPrincipalRequestMultiError added in v2.8.0

type GetPermissionsForPrincipalRequestMultiError []error

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

func (GetPermissionsForPrincipalRequestMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (GetPermissionsForPrincipalRequestMultiError) Error added in v2.8.0

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

type GetPermissionsForPrincipalRequestValidationError added in v2.8.0

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

GetPermissionsForPrincipalRequestValidationError is the validation error returned by GetPermissionsForPrincipalRequest.Validate if the designated constraints aren't met.

func (GetPermissionsForPrincipalRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetPermissionsForPrincipalRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetPermissionsForPrincipalRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetPermissionsForPrincipalRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetPermissionsForPrincipalRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetPermissionsForPrincipalRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetPermissionsRequest

type GetPermissionsRequest struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

GetPermissions evaluates the current user's permissions on a resource

func (*GetPermissionsRequest) Descriptor deprecated

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

Deprecated: Use GetPermissionsRequest.ProtoReflect.Descriptor instead.

func (*GetPermissionsRequest) GetResource

func (x *GetPermissionsRequest) GetResource() *Resource

func (*GetPermissionsRequest) MarshalLogObject

func (x *GetPermissionsRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetPermissionsRequest) ProtoMessage

func (*GetPermissionsRequest) ProtoMessage()

func (*GetPermissionsRequest) ProtoReflect added in v2.7.0

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

func (*GetPermissionsRequest) Reset

func (x *GetPermissionsRequest) Reset()

func (*GetPermissionsRequest) String

func (x *GetPermissionsRequest) String() string

func (*GetPermissionsRequest) Validate added in v2.8.0

func (m *GetPermissionsRequest) Validate() error

Validate checks the field values on GetPermissionsRequest 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 (*GetPermissionsRequest) ValidateAll added in v2.8.0

func (m *GetPermissionsRequest) ValidateAll() error

ValidateAll checks the field values on GetPermissionsRequest 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 GetPermissionsRequestMultiError, or nil if none found.

type GetPermissionsRequestMultiError added in v2.8.0

type GetPermissionsRequestMultiError []error

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

func (GetPermissionsRequestMultiError) AllErrors added in v2.8.0

func (m GetPermissionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPermissionsRequestMultiError) Error added in v2.8.0

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

type GetPermissionsRequestValidationError added in v2.8.0

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

GetPermissionsRequestValidationError is the validation error returned by GetPermissionsRequest.Validate if the designated constraints aren't met.

func (GetPermissionsRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetPermissionsRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetPermissionsRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetPermissionsRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetPermissionsRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetPermissionsRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetPermissionsResponse

type GetPermissionsResponse struct {

	// permissions is the set of permissions the principal has
	Permissions []Permission `protobuf:"varint,1,rep,packed,name=permissions,proto3,enum=auth_v2.Permission" json:"permissions,omitempty"`
	// roles is the set of roles the principal has
	Roles []string `protobuf:"bytes,2,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPermissionsResponse) Descriptor deprecated

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

Deprecated: Use GetPermissionsResponse.ProtoReflect.Descriptor instead.

func (*GetPermissionsResponse) GetPermissions

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

func (*GetPermissionsResponse) GetRoles

func (x *GetPermissionsResponse) GetRoles() []string

func (*GetPermissionsResponse) MarshalLogObject

func (x *GetPermissionsResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetPermissionsResponse) ProtoMessage

func (*GetPermissionsResponse) ProtoMessage()

func (*GetPermissionsResponse) ProtoReflect added in v2.7.0

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

func (*GetPermissionsResponse) Reset

func (x *GetPermissionsResponse) Reset()

func (*GetPermissionsResponse) String

func (x *GetPermissionsResponse) String() string

func (*GetPermissionsResponse) Validate added in v2.8.0

func (m *GetPermissionsResponse) Validate() error

Validate checks the field values on GetPermissionsResponse 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 (*GetPermissionsResponse) ValidateAll added in v2.8.0

func (m *GetPermissionsResponse) ValidateAll() error

ValidateAll checks the field values on GetPermissionsResponse 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 GetPermissionsResponseMultiError, or nil if none found.

type GetPermissionsResponseMultiError added in v2.8.0

type GetPermissionsResponseMultiError []error

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

func (GetPermissionsResponseMultiError) AllErrors added in v2.8.0

func (m GetPermissionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetPermissionsResponseMultiError) Error added in v2.8.0

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

type GetPermissionsResponseValidationError added in v2.8.0

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

GetPermissionsResponseValidationError is the validation error returned by GetPermissionsResponse.Validate if the designated constraints aren't met.

func (GetPermissionsResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetPermissionsResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetPermissionsResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetPermissionsResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetPermissionsResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetPermissionsResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRobotTokenRequest

type GetRobotTokenRequest struct {

	// The returned token will allow the caller to access resources as this
	// robot user
	Robot string `protobuf:"bytes,1,opt,name=robot,proto3" json:"robot,omitempty"`
	// ttl indicates the requested (approximate) remaining lifetime of this token,
	// in seconds
	Ttl int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRobotTokenRequest) Descriptor deprecated

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

Deprecated: Use GetRobotTokenRequest.ProtoReflect.Descriptor instead.

func (*GetRobotTokenRequest) GetRobot

func (x *GetRobotTokenRequest) GetRobot() string

func (*GetRobotTokenRequest) GetTtl added in v2.7.0

func (x *GetRobotTokenRequest) GetTtl() int64

func (*GetRobotTokenRequest) MarshalLogObject

func (x *GetRobotTokenRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRobotTokenRequest) ProtoMessage

func (*GetRobotTokenRequest) ProtoMessage()

func (*GetRobotTokenRequest) ProtoReflect added in v2.7.0

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

func (*GetRobotTokenRequest) Reset

func (x *GetRobotTokenRequest) Reset()

func (*GetRobotTokenRequest) String

func (x *GetRobotTokenRequest) String() string

func (*GetRobotTokenRequest) Validate added in v2.8.0

func (m *GetRobotTokenRequest) Validate() error

Validate checks the field values on GetRobotTokenRequest 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 (*GetRobotTokenRequest) ValidateAll added in v2.8.0

func (m *GetRobotTokenRequest) ValidateAll() error

ValidateAll checks the field values on GetRobotTokenRequest 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 GetRobotTokenRequestMultiError, or nil if none found.

type GetRobotTokenRequestMultiError added in v2.8.0

type GetRobotTokenRequestMultiError []error

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

func (GetRobotTokenRequestMultiError) AllErrors added in v2.8.0

func (m GetRobotTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRobotTokenRequestMultiError) Error added in v2.8.0

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

type GetRobotTokenRequestValidationError added in v2.8.0

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

GetRobotTokenRequestValidationError is the validation error returned by GetRobotTokenRequest.Validate if the designated constraints aren't met.

func (GetRobotTokenRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRobotTokenRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRobotTokenRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRobotTokenRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRobotTokenRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRobotTokenRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRobotTokenResponse

type GetRobotTokenResponse struct {

	// A new auth token for the requested robot
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRobotTokenResponse) Descriptor deprecated

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

Deprecated: Use GetRobotTokenResponse.ProtoReflect.Descriptor instead.

func (*GetRobotTokenResponse) GetToken

func (x *GetRobotTokenResponse) GetToken() string

func (*GetRobotTokenResponse) MarshalLogObject

func (x *GetRobotTokenResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRobotTokenResponse) ProtoMessage

func (*GetRobotTokenResponse) ProtoMessage()

func (*GetRobotTokenResponse) ProtoReflect added in v2.7.0

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

func (*GetRobotTokenResponse) Reset

func (x *GetRobotTokenResponse) Reset()

func (*GetRobotTokenResponse) String

func (x *GetRobotTokenResponse) String() string

func (*GetRobotTokenResponse) Validate added in v2.8.0

func (m *GetRobotTokenResponse) Validate() error

Validate checks the field values on GetRobotTokenResponse 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 (*GetRobotTokenResponse) ValidateAll added in v2.8.0

func (m *GetRobotTokenResponse) ValidateAll() error

ValidateAll checks the field values on GetRobotTokenResponse 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 GetRobotTokenResponseMultiError, or nil if none found.

type GetRobotTokenResponseMultiError added in v2.8.0

type GetRobotTokenResponseMultiError []error

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

func (GetRobotTokenResponseMultiError) AllErrors added in v2.8.0

func (m GetRobotTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRobotTokenResponseMultiError) Error added in v2.8.0

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

type GetRobotTokenResponseValidationError added in v2.8.0

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

GetRobotTokenResponseValidationError is the validation error returned by GetRobotTokenResponse.Validate if the designated constraints aren't met.

func (GetRobotTokenResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRobotTokenResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRobotTokenResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRobotTokenResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRobotTokenResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRobotTokenResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRoleBindingRequest

type GetRoleBindingRequest struct {
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleBindingRequest) Descriptor deprecated

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

Deprecated: Use GetRoleBindingRequest.ProtoReflect.Descriptor instead.

func (*GetRoleBindingRequest) GetResource

func (x *GetRoleBindingRequest) GetResource() *Resource

func (*GetRoleBindingRequest) MarshalLogObject

func (x *GetRoleBindingRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRoleBindingRequest) ProtoMessage

func (*GetRoleBindingRequest) ProtoMessage()

func (*GetRoleBindingRequest) ProtoReflect added in v2.7.0

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

func (*GetRoleBindingRequest) Reset

func (x *GetRoleBindingRequest) Reset()

func (*GetRoleBindingRequest) String

func (x *GetRoleBindingRequest) String() string

func (*GetRoleBindingRequest) Validate added in v2.8.0

func (m *GetRoleBindingRequest) Validate() error

Validate checks the field values on GetRoleBindingRequest 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 (*GetRoleBindingRequest) ValidateAll added in v2.8.0

func (m *GetRoleBindingRequest) ValidateAll() error

ValidateAll checks the field values on GetRoleBindingRequest 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 GetRoleBindingRequestMultiError, or nil if none found.

type GetRoleBindingRequestMultiError added in v2.8.0

type GetRoleBindingRequestMultiError []error

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

func (GetRoleBindingRequestMultiError) AllErrors added in v2.8.0

func (m GetRoleBindingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRoleBindingRequestMultiError) Error added in v2.8.0

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

type GetRoleBindingRequestValidationError added in v2.8.0

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

GetRoleBindingRequestValidationError is the validation error returned by GetRoleBindingRequest.Validate if the designated constraints aren't met.

func (GetRoleBindingRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRoleBindingRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRoleBindingRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRoleBindingRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRoleBindingRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRoleBindingRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRoleBindingResponse

type GetRoleBindingResponse struct {
	Binding *RoleBinding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRoleBindingResponse) Descriptor deprecated

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

Deprecated: Use GetRoleBindingResponse.ProtoReflect.Descriptor instead.

func (*GetRoleBindingResponse) GetBinding

func (x *GetRoleBindingResponse) GetBinding() *RoleBinding

func (*GetRoleBindingResponse) MarshalLogObject

func (x *GetRoleBindingResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRoleBindingResponse) ProtoMessage

func (*GetRoleBindingResponse) ProtoMessage()

func (*GetRoleBindingResponse) ProtoReflect added in v2.7.0

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

func (*GetRoleBindingResponse) Reset

func (x *GetRoleBindingResponse) Reset()

func (*GetRoleBindingResponse) String

func (x *GetRoleBindingResponse) String() string

func (*GetRoleBindingResponse) Validate added in v2.8.0

func (m *GetRoleBindingResponse) Validate() error

Validate checks the field values on GetRoleBindingResponse 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 (*GetRoleBindingResponse) ValidateAll added in v2.8.0

func (m *GetRoleBindingResponse) ValidateAll() error

ValidateAll checks the field values on GetRoleBindingResponse 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 GetRoleBindingResponseMultiError, or nil if none found.

type GetRoleBindingResponseMultiError added in v2.8.0

type GetRoleBindingResponseMultiError []error

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

func (GetRoleBindingResponseMultiError) AllErrors added in v2.8.0

func (m GetRoleBindingResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRoleBindingResponseMultiError) Error added in v2.8.0

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

type GetRoleBindingResponseValidationError added in v2.8.0

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

GetRoleBindingResponseValidationError is the validation error returned by GetRoleBindingResponse.Validate if the designated constraints aren't met.

func (GetRoleBindingResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRoleBindingResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRoleBindingResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRoleBindingResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRoleBindingResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRoleBindingResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRolesForPermissionRequest

type GetRolesForPermissionRequest struct {
	Permission Permission `protobuf:"varint,1,opt,name=permission,proto3,enum=auth_v2.Permission" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRolesForPermissionRequest) Descriptor deprecated

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

Deprecated: Use GetRolesForPermissionRequest.ProtoReflect.Descriptor instead.

func (*GetRolesForPermissionRequest) GetPermission

func (x *GetRolesForPermissionRequest) GetPermission() Permission

func (*GetRolesForPermissionRequest) MarshalLogObject

func (x *GetRolesForPermissionRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRolesForPermissionRequest) ProtoMessage

func (*GetRolesForPermissionRequest) ProtoMessage()

func (*GetRolesForPermissionRequest) ProtoReflect added in v2.7.0

func (*GetRolesForPermissionRequest) Reset

func (x *GetRolesForPermissionRequest) Reset()

func (*GetRolesForPermissionRequest) String

func (*GetRolesForPermissionRequest) Validate added in v2.8.0

func (m *GetRolesForPermissionRequest) Validate() error

Validate checks the field values on GetRolesForPermissionRequest 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 (*GetRolesForPermissionRequest) ValidateAll added in v2.8.0

func (m *GetRolesForPermissionRequest) ValidateAll() error

ValidateAll checks the field values on GetRolesForPermissionRequest 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 GetRolesForPermissionRequestMultiError, or nil if none found.

type GetRolesForPermissionRequestMultiError added in v2.8.0

type GetRolesForPermissionRequestMultiError []error

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

func (GetRolesForPermissionRequestMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (GetRolesForPermissionRequestMultiError) Error added in v2.8.0

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

type GetRolesForPermissionRequestValidationError added in v2.8.0

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

GetRolesForPermissionRequestValidationError is the validation error returned by GetRolesForPermissionRequest.Validate if the designated constraints aren't met.

func (GetRolesForPermissionRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRolesForPermissionRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRolesForPermissionRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRolesForPermissionRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRolesForPermissionRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRolesForPermissionRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetRolesForPermissionResponse

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

func (*GetRolesForPermissionResponse) Descriptor deprecated

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

Deprecated: Use GetRolesForPermissionResponse.ProtoReflect.Descriptor instead.

func (*GetRolesForPermissionResponse) GetRoles

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

func (*GetRolesForPermissionResponse) MarshalLogObject

func (x *GetRolesForPermissionResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetRolesForPermissionResponse) ProtoMessage

func (*GetRolesForPermissionResponse) ProtoMessage()

func (*GetRolesForPermissionResponse) ProtoReflect added in v2.7.0

func (*GetRolesForPermissionResponse) Reset

func (x *GetRolesForPermissionResponse) Reset()

func (*GetRolesForPermissionResponse) String

func (*GetRolesForPermissionResponse) Validate added in v2.8.0

func (m *GetRolesForPermissionResponse) Validate() error

Validate checks the field values on GetRolesForPermissionResponse 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 (*GetRolesForPermissionResponse) ValidateAll added in v2.8.0

func (m *GetRolesForPermissionResponse) ValidateAll() error

ValidateAll checks the field values on GetRolesForPermissionResponse 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 GetRolesForPermissionResponseMultiError, or nil if none found.

type GetRolesForPermissionResponseMultiError added in v2.8.0

type GetRolesForPermissionResponseMultiError []error

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

func (GetRolesForPermissionResponseMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (GetRolesForPermissionResponseMultiError) Error added in v2.8.0

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

type GetRolesForPermissionResponseValidationError added in v2.8.0

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

GetRolesForPermissionResponseValidationError is the validation error returned by GetRolesForPermissionResponse.Validate if the designated constraints aren't met.

func (GetRolesForPermissionResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetRolesForPermissionResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetRolesForPermissionResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetRolesForPermissionResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetRolesForPermissionResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetRolesForPermissionResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetUsersRequest

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

func (*GetUsersRequest) Descriptor deprecated

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

Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.

func (*GetUsersRequest) GetGroup

func (x *GetUsersRequest) GetGroup() string

func (*GetUsersRequest) MarshalLogObject

func (x *GetUsersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) ProtoReflect added in v2.7.0

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

func (*GetUsersRequest) Reset

func (x *GetUsersRequest) Reset()

func (*GetUsersRequest) String

func (x *GetUsersRequest) String() string

func (*GetUsersRequest) Validate added in v2.8.0

func (m *GetUsersRequest) Validate() error

Validate checks the field values on GetUsersRequest 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 (*GetUsersRequest) ValidateAll added in v2.8.0

func (m *GetUsersRequest) ValidateAll() error

ValidateAll checks the field values on GetUsersRequest 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 GetUsersRequestMultiError, or nil if none found.

type GetUsersRequestMultiError added in v2.8.0

type GetUsersRequestMultiError []error

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

func (GetUsersRequestMultiError) AllErrors added in v2.8.0

func (m GetUsersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUsersRequestMultiError) Error added in v2.8.0

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

type GetUsersRequestValidationError added in v2.8.0

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

GetUsersRequestValidationError is the validation error returned by GetUsersRequest.Validate if the designated constraints aren't met.

func (GetUsersRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetUsersRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetUsersRequestValidationError) ErrorName added in v2.8.0

func (e GetUsersRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetUsersRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (GetUsersRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (GetUsersRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type GetUsersResponse

type GetUsersResponse struct {
	Usernames []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsersResponse) Descriptor deprecated

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

Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.

func (*GetUsersResponse) GetUsernames

func (x *GetUsersResponse) GetUsernames() []string

func (*GetUsersResponse) MarshalLogObject

func (x *GetUsersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*GetUsersResponse) ProtoMessage

func (*GetUsersResponse) ProtoMessage()

func (*GetUsersResponse) ProtoReflect added in v2.7.0

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

func (*GetUsersResponse) Reset

func (x *GetUsersResponse) Reset()

func (*GetUsersResponse) String

func (x *GetUsersResponse) String() string

func (*GetUsersResponse) Validate added in v2.8.0

func (m *GetUsersResponse) Validate() error

Validate checks the field values on GetUsersResponse 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 (*GetUsersResponse) ValidateAll added in v2.8.0

func (m *GetUsersResponse) ValidateAll() error

ValidateAll checks the field values on GetUsersResponse 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 GetUsersResponseMultiError, or nil if none found.

type GetUsersResponseMultiError added in v2.8.0

type GetUsersResponseMultiError []error

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

func (GetUsersResponseMultiError) AllErrors added in v2.8.0

func (m GetUsersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetUsersResponseMultiError) Error added in v2.8.0

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

type GetUsersResponseValidationError added in v2.8.0

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

GetUsersResponseValidationError is the validation error returned by GetUsersResponse.Validate if the designated constraints aren't met.

func (GetUsersResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (GetUsersResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (GetUsersResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (GetUsersResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (GetUsersResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (GetUsersResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type Groups

type Groups struct {
	Groups map[string]bool `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Groups) Descriptor deprecated

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

Deprecated: Use Groups.ProtoReflect.Descriptor instead.

func (*Groups) GetGroups

func (x *Groups) GetGroups() map[string]bool

func (*Groups) MarshalLogObject

func (x *Groups) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*Groups) ProtoMessage

func (*Groups) ProtoMessage()

func (*Groups) ProtoReflect added in v2.7.0

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

func (*Groups) Reset

func (x *Groups) Reset()

func (*Groups) String

func (x *Groups) String() string

func (*Groups) Validate added in v2.8.0

func (m *Groups) Validate() error

Validate checks the field values on Groups 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 (*Groups) ValidateAll added in v2.8.0

func (m *Groups) ValidateAll() error

ValidateAll checks the field values on Groups 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 GroupsMultiError, or nil if none found.

type GroupsMultiError added in v2.8.0

type GroupsMultiError []error

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

func (GroupsMultiError) AllErrors added in v2.8.0

func (m GroupsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GroupsMultiError) Error added in v2.8.0

func (m GroupsMultiError) Error() string

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

type GroupsValidationError added in v2.8.0

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

GroupsValidationError is the validation error returned by Groups.Validate if the designated constraints aren't met.

func (GroupsValidationError) Cause added in v2.8.0

func (e GroupsValidationError) Cause() error

Cause function returns cause value.

func (GroupsValidationError) Error added in v2.8.0

func (e GroupsValidationError) Error() string

Error satisfies the builtin error interface

func (GroupsValidationError) ErrorName added in v2.8.0

func (e GroupsValidationError) ErrorName() string

ErrorName returns error name.

func (GroupsValidationError) Field added in v2.8.0

func (e GroupsValidationError) Field() string

Field function returns field value.

func (GroupsValidationError) Key added in v2.8.0

func (e GroupsValidationError) Key() bool

Key function returns key value.

func (GroupsValidationError) Reason added in v2.8.0

func (e GroupsValidationError) Reason() string

Reason function returns reason value.

type ModifyMembersRequest

type ModifyMembersRequest struct {
	Group  string   `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Add    []string `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty"`
	Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

func (*ModifyMembersRequest) Descriptor deprecated

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

Deprecated: Use ModifyMembersRequest.ProtoReflect.Descriptor instead.

func (*ModifyMembersRequest) GetAdd

func (x *ModifyMembersRequest) GetAdd() []string

func (*ModifyMembersRequest) GetGroup

func (x *ModifyMembersRequest) GetGroup() string

func (*ModifyMembersRequest) GetRemove

func (x *ModifyMembersRequest) GetRemove() []string

func (*ModifyMembersRequest) MarshalLogObject

func (x *ModifyMembersRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ModifyMembersRequest) ProtoMessage

func (*ModifyMembersRequest) ProtoMessage()

func (*ModifyMembersRequest) ProtoReflect added in v2.7.0

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

func (*ModifyMembersRequest) Reset

func (x *ModifyMembersRequest) Reset()

func (*ModifyMembersRequest) String

func (x *ModifyMembersRequest) String() string

func (*ModifyMembersRequest) Validate added in v2.8.0

func (m *ModifyMembersRequest) Validate() error

Validate checks the field values on ModifyMembersRequest 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 (*ModifyMembersRequest) ValidateAll added in v2.8.0

func (m *ModifyMembersRequest) ValidateAll() error

ValidateAll checks the field values on ModifyMembersRequest 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 ModifyMembersRequestMultiError, or nil if none found.

type ModifyMembersRequestMultiError added in v2.8.0

type ModifyMembersRequestMultiError []error

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

func (ModifyMembersRequestMultiError) AllErrors added in v2.8.0

func (m ModifyMembersRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModifyMembersRequestMultiError) Error added in v2.8.0

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

type ModifyMembersRequestValidationError added in v2.8.0

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

ModifyMembersRequestValidationError is the validation error returned by ModifyMembersRequest.Validate if the designated constraints aren't met.

func (ModifyMembersRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ModifyMembersRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ModifyMembersRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ModifyMembersRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (ModifyMembersRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (ModifyMembersRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ModifyMembersResponse

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

func (*ModifyMembersResponse) Descriptor deprecated

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

Deprecated: Use ModifyMembersResponse.ProtoReflect.Descriptor instead.

func (*ModifyMembersResponse) MarshalLogObject

func (x *ModifyMembersResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ModifyMembersResponse) ProtoMessage

func (*ModifyMembersResponse) ProtoMessage()

func (*ModifyMembersResponse) ProtoReflect added in v2.7.0

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

func (*ModifyMembersResponse) Reset

func (x *ModifyMembersResponse) Reset()

func (*ModifyMembersResponse) String

func (x *ModifyMembersResponse) String() string

func (*ModifyMembersResponse) Validate added in v2.8.0

func (m *ModifyMembersResponse) Validate() error

Validate checks the field values on ModifyMembersResponse 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 (*ModifyMembersResponse) ValidateAll added in v2.8.0

func (m *ModifyMembersResponse) ValidateAll() error

ValidateAll checks the field values on ModifyMembersResponse 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 ModifyMembersResponseMultiError, or nil if none found.

type ModifyMembersResponseMultiError added in v2.8.0

type ModifyMembersResponseMultiError []error

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

func (ModifyMembersResponseMultiError) AllErrors added in v2.8.0

func (m ModifyMembersResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModifyMembersResponseMultiError) Error added in v2.8.0

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

type ModifyMembersResponseValidationError added in v2.8.0

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

ModifyMembersResponseValidationError is the validation error returned by ModifyMembersResponse.Validate if the designated constraints aren't met.

func (ModifyMembersResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ModifyMembersResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ModifyMembersResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ModifyMembersResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (ModifyMembersResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (ModifyMembersResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ModifyRoleBindingRequest

type ModifyRoleBindingRequest struct {

	// resource is the resource to modify the role bindings on
	Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// principal is the principal to modify the roles binding for
	Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	// roles is the set of roles for principal - an empty list
	// removes all role bindings
	Roles []string `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

func (*ModifyRoleBindingRequest) Descriptor deprecated

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

Deprecated: Use ModifyRoleBindingRequest.ProtoReflect.Descriptor instead.

func (*ModifyRoleBindingRequest) GetPrincipal

func (x *ModifyRoleBindingRequest) GetPrincipal() string

func (*ModifyRoleBindingRequest) GetResource

func (x *ModifyRoleBindingRequest) GetResource() *Resource

func (*ModifyRoleBindingRequest) GetRoles

func (x *ModifyRoleBindingRequest) GetRoles() []string

func (*ModifyRoleBindingRequest) MarshalLogObject

func (x *ModifyRoleBindingRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ModifyRoleBindingRequest) ProtoMessage

func (*ModifyRoleBindingRequest) ProtoMessage()

func (*ModifyRoleBindingRequest) ProtoReflect added in v2.7.0

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

func (*ModifyRoleBindingRequest) Reset

func (x *ModifyRoleBindingRequest) Reset()

func (*ModifyRoleBindingRequest) String

func (x *ModifyRoleBindingRequest) String() string

func (*ModifyRoleBindingRequest) Validate added in v2.8.0

func (m *ModifyRoleBindingRequest) Validate() error

Validate checks the field values on ModifyRoleBindingRequest 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 (*ModifyRoleBindingRequest) ValidateAll added in v2.8.0

func (m *ModifyRoleBindingRequest) ValidateAll() error

ValidateAll checks the field values on ModifyRoleBindingRequest 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 ModifyRoleBindingRequestMultiError, or nil if none found.

type ModifyRoleBindingRequestMultiError added in v2.8.0

type ModifyRoleBindingRequestMultiError []error

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

func (ModifyRoleBindingRequestMultiError) AllErrors added in v2.8.0

func (m ModifyRoleBindingRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ModifyRoleBindingRequestMultiError) Error added in v2.8.0

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

type ModifyRoleBindingRequestValidationError added in v2.8.0

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

ModifyRoleBindingRequestValidationError is the validation error returned by ModifyRoleBindingRequest.Validate if the designated constraints aren't met.

func (ModifyRoleBindingRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ModifyRoleBindingRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ModifyRoleBindingRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ModifyRoleBindingRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (ModifyRoleBindingRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (ModifyRoleBindingRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type ModifyRoleBindingResponse

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

func (*ModifyRoleBindingResponse) Descriptor deprecated

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

Deprecated: Use ModifyRoleBindingResponse.ProtoReflect.Descriptor instead.

func (*ModifyRoleBindingResponse) MarshalLogObject

func (x *ModifyRoleBindingResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*ModifyRoleBindingResponse) ProtoMessage

func (*ModifyRoleBindingResponse) ProtoMessage()

func (*ModifyRoleBindingResponse) ProtoReflect added in v2.7.0

func (*ModifyRoleBindingResponse) Reset

func (x *ModifyRoleBindingResponse) Reset()

func (*ModifyRoleBindingResponse) String

func (x *ModifyRoleBindingResponse) String() string

func (*ModifyRoleBindingResponse) Validate added in v2.8.0

func (m *ModifyRoleBindingResponse) Validate() error

Validate checks the field values on ModifyRoleBindingResponse 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 (*ModifyRoleBindingResponse) ValidateAll added in v2.8.0

func (m *ModifyRoleBindingResponse) ValidateAll() error

ValidateAll checks the field values on ModifyRoleBindingResponse 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 ModifyRoleBindingResponseMultiError, or nil if none found.

type ModifyRoleBindingResponseMultiError added in v2.8.0

type ModifyRoleBindingResponseMultiError []error

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

func (ModifyRoleBindingResponseMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (ModifyRoleBindingResponseMultiError) Error added in v2.8.0

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

type ModifyRoleBindingResponseValidationError added in v2.8.0

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

ModifyRoleBindingResponseValidationError is the validation error returned by ModifyRoleBindingResponse.Validate if the designated constraints aren't met.

func (ModifyRoleBindingResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (ModifyRoleBindingResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (ModifyRoleBindingResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (ModifyRoleBindingResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (ModifyRoleBindingResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (ModifyRoleBindingResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type OIDCConfig

type OIDCConfig struct {
	Issuer               string   `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,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"`
	RedirectUri          string   `protobuf:"bytes,4,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	Scopes               []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
	RequireEmailVerified bool     `protobuf:"varint,6,opt,name=require_email_verified,json=requireEmailVerified,proto3" json:"require_email_verified,omitempty"`
	// localhost_issuer ignores the contents of the issuer claim and makes all
	// OIDC requests to the embedded OIDC provider. This is necessary to support
	// some network configurations like Minikube.
	LocalhostIssuer bool `protobuf:"varint,7,opt,name=localhost_issuer,json=localhostIssuer,proto3" json:"localhost_issuer,omitempty"`
	// user_accessible_issuer_host can be set to override the host used
	// in the OAuth2 authorization URL in case the OIDC issuer isn't
	// accessible outside the cluster. This requires a fully formed URL with scheme of either http or https.
	// This is necessary to support some configurations like Minikube.
	UserAccessibleIssuerHost string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configure Pachyderm's auth system with an OIDC provider

func (*OIDCConfig) Descriptor deprecated

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

Deprecated: Use OIDCConfig.ProtoReflect.Descriptor instead.

func (*OIDCConfig) GetClientId added in v2.7.0

func (x *OIDCConfig) GetClientId() string

func (*OIDCConfig) GetClientSecret

func (x *OIDCConfig) GetClientSecret() string

func (*OIDCConfig) GetIssuer

func (x *OIDCConfig) GetIssuer() string

func (*OIDCConfig) GetLocalhostIssuer

func (x *OIDCConfig) GetLocalhostIssuer() bool

func (*OIDCConfig) GetRedirectUri added in v2.7.0

func (x *OIDCConfig) GetRedirectUri() string

func (*OIDCConfig) GetRequireEmailVerified

func (x *OIDCConfig) GetRequireEmailVerified() bool

func (*OIDCConfig) GetScopes

func (x *OIDCConfig) GetScopes() []string

func (*OIDCConfig) GetUserAccessibleIssuerHost

func (x *OIDCConfig) GetUserAccessibleIssuerHost() string

func (*OIDCConfig) MarshalLogObject

func (x *OIDCConfig) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*OIDCConfig) ProtoMessage

func (*OIDCConfig) ProtoMessage()

func (*OIDCConfig) ProtoReflect added in v2.7.0

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

func (*OIDCConfig) Reset

func (x *OIDCConfig) Reset()

func (*OIDCConfig) String

func (x *OIDCConfig) String() string

func (*OIDCConfig) Validate added in v2.8.0

func (m *OIDCConfig) Validate() error

Validate checks the field values on OIDCConfig 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 (*OIDCConfig) ValidateAll added in v2.8.0

func (m *OIDCConfig) ValidateAll() error

ValidateAll checks the field values on OIDCConfig 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 OIDCConfigMultiError, or nil if none found.

type OIDCConfigMultiError added in v2.8.0

type OIDCConfigMultiError []error

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

func (OIDCConfigMultiError) AllErrors added in v2.8.0

func (m OIDCConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OIDCConfigMultiError) Error added in v2.8.0

func (m OIDCConfigMultiError) Error() string

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

type OIDCConfigValidationError added in v2.8.0

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

OIDCConfigValidationError is the validation error returned by OIDCConfig.Validate if the designated constraints aren't met.

func (OIDCConfigValidationError) Cause added in v2.8.0

func (e OIDCConfigValidationError) Cause() error

Cause function returns cause value.

func (OIDCConfigValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (OIDCConfigValidationError) ErrorName added in v2.8.0

func (e OIDCConfigValidationError) ErrorName() string

ErrorName returns error name.

func (OIDCConfigValidationError) Field added in v2.8.0

Field function returns field value.

func (OIDCConfigValidationError) Key added in v2.8.0

Key function returns key value.

func (OIDCConfigValidationError) Reason added in v2.8.0

func (e OIDCConfigValidationError) Reason() string

Reason function returns reason value.

type Permission

type Permission int32

Permission represents the ability to perform a given operation on a Resource

const (
	Permission_PERMISSION_UNKNOWN                         Permission = 0
	Permission_CLUSTER_MODIFY_BINDINGS                    Permission = 100
	Permission_CLUSTER_GET_BINDINGS                       Permission = 101
	Permission_CLUSTER_GET_PACHD_LOGS                     Permission = 148
	Permission_CLUSTER_GET_LOKI_LOGS                      Permission = 150
	Permission_CLUSTER_AUTH_ACTIVATE                      Permission = 102
	Permission_CLUSTER_AUTH_DEACTIVATE                    Permission = 103
	Permission_CLUSTER_AUTH_GET_CONFIG                    Permission = 104
	Permission_CLUSTER_AUTH_SET_CONFIG                    Permission = 105
	Permission_CLUSTER_AUTH_GET_ROBOT_TOKEN               Permission = 139
	Permission_CLUSTER_AUTH_MODIFY_GROUP_MEMBERS          Permission = 109
	Permission_CLUSTER_AUTH_GET_GROUPS                    Permission = 110
	Permission_CLUSTER_AUTH_GET_GROUP_USERS               Permission = 111
	Permission_CLUSTER_AUTH_EXTRACT_TOKENS                Permission = 112
	Permission_CLUSTER_AUTH_RESTORE_TOKEN                 Permission = 113
	Permission_CLUSTER_AUTH_GET_PERMISSIONS_FOR_PRINCIPAL Permission = 141
	Permission_CLUSTER_AUTH_DELETE_EXPIRED_TOKENS         Permission = 140
	Permission_CLUSTER_AUTH_REVOKE_USER_TOKENS            Permission = 142
	Permission_CLUSTER_AUTH_ROTATE_ROOT_TOKEN             Permission = 147
	Permission_CLUSTER_ENTERPRISE_ACTIVATE                Permission = 114
	Permission_CLUSTER_ENTERPRISE_HEARTBEAT               Permission = 115
	Permission_CLUSTER_ENTERPRISE_GET_CODE                Permission = 116
	Permission_CLUSTER_ENTERPRISE_DEACTIVATE              Permission = 117
	Permission_CLUSTER_ENTERPRISE_PAUSE                   Permission = 149
	Permission_CLUSTER_IDENTITY_SET_CONFIG                Permission = 118
	Permission_CLUSTER_IDENTITY_GET_CONFIG                Permission = 119
	Permission_CLUSTER_IDENTITY_CREATE_IDP                Permission = 120
	Permission_CLUSTER_IDENTITY_UPDATE_IDP                Permission = 121
	Permission_CLUSTER_IDENTITY_LIST_IDPS                 Permission = 122
	Permission_CLUSTER_IDENTITY_GET_IDP                   Permission = 123
	Permission_CLUSTER_IDENTITY_DELETE_IDP                Permission = 124
	Permission_CLUSTER_IDENTITY_CREATE_OIDC_CLIENT        Permission = 125
	Permission_CLUSTER_IDENTITY_UPDATE_OIDC_CLIENT        Permission = 126
	Permission_CLUSTER_IDENTITY_LIST_OIDC_CLIENTS         Permission = 127
	Permission_CLUSTER_IDENTITY_GET_OIDC_CLIENT           Permission = 128
	Permission_CLUSTER_IDENTITY_DELETE_OIDC_CLIENT        Permission = 129
	Permission_CLUSTER_DEBUG_DUMP                         Permission = 131
	Permission_CLUSTER_LICENSE_ACTIVATE                   Permission = 132
	Permission_CLUSTER_LICENSE_GET_CODE                   Permission = 133
	Permission_CLUSTER_LICENSE_ADD_CLUSTER                Permission = 134
	Permission_CLUSTER_LICENSE_UPDATE_CLUSTER             Permission = 135
	Permission_CLUSTER_LICENSE_DELETE_CLUSTER             Permission = 136
	Permission_CLUSTER_LICENSE_LIST_CLUSTERS              Permission = 137
	// TODO(actgardner): Make k8s secrets into nouns and add an Update RPC
	Permission_CLUSTER_CREATE_SECRET       Permission = 143
	Permission_CLUSTER_LIST_SECRETS        Permission = 144
	Permission_SECRET_DELETE               Permission = 145
	Permission_SECRET_INSPECT              Permission = 146
	Permission_CLUSTER_DELETE_ALL          Permission = 138
	Permission_REPO_READ                   Permission = 200
	Permission_REPO_WRITE                  Permission = 201
	Permission_REPO_MODIFY_BINDINGS        Permission = 202
	Permission_REPO_DELETE                 Permission = 203
	Permission_REPO_INSPECT_COMMIT         Permission = 204
	Permission_REPO_LIST_COMMIT            Permission = 205
	Permission_REPO_DELETE_COMMIT          Permission = 206
	Permission_REPO_CREATE_BRANCH          Permission = 207
	Permission_REPO_LIST_BRANCH            Permission = 208
	Permission_REPO_DELETE_BRANCH          Permission = 209
	Permission_REPO_INSPECT_FILE           Permission = 210
	Permission_REPO_LIST_FILE              Permission = 211
	Permission_REPO_ADD_PIPELINE_READER    Permission = 212
	Permission_REPO_REMOVE_PIPELINE_READER Permission = 213
	Permission_REPO_ADD_PIPELINE_WRITER    Permission = 214
	Permission_PIPELINE_LIST_JOB           Permission = 301
	// CLUSTER_SET_DEFAULTS is part of PPS.
	Permission_CLUSTER_SET_DEFAULTS    Permission = 302
	Permission_PROJECT_CREATE          Permission = 400
	Permission_PROJECT_DELETE          Permission = 401
	Permission_PROJECT_LIST_REPO       Permission = 402
	Permission_PROJECT_CREATE_REPO     Permission = 403
	Permission_PROJECT_MODIFY_BINDINGS Permission = 404
)

func (Permission) Descriptor added in v2.7.0

func (Permission) Descriptor() protoreflect.EnumDescriptor

func (Permission) Enum added in v2.7.0

func (x Permission) Enum() *Permission

func (Permission) EnumDescriptor deprecated

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

Deprecated: Use Permission.Descriptor instead.

func (Permission) Number added in v2.7.0

func (x Permission) Number() protoreflect.EnumNumber

func (Permission) String

func (x Permission) String() string

func (Permission) Type added in v2.7.0

type Resource

type Resource struct {
	Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=auth_v2.ResourceType" json:"type,omitempty"`
	Name string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Resource represents any resource that has role-bindings in the system

func (*Resource) Descriptor deprecated

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetName

func (x *Resource) GetName() string

func (*Resource) GetType

func (x *Resource) GetType() ResourceType

func (*Resource) MarshalLogObject

func (x *Resource) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect added in v2.7.0

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

func (*Resource) Reset

func (x *Resource) Reset()

func (*Resource) String

func (x *Resource) String() string

func (*Resource) Validate added in v2.8.0

func (m *Resource) Validate() error

Validate checks the field values on Resource 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 (*Resource) ValidateAll added in v2.8.0

func (m *Resource) ValidateAll() error

ValidateAll checks the field values on Resource 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 ResourceMultiError, or nil if none found.

type ResourceMultiError added in v2.8.0

type ResourceMultiError []error

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

func (ResourceMultiError) AllErrors added in v2.8.0

func (m ResourceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResourceMultiError) Error added in v2.8.0

func (m ResourceMultiError) Error() string

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

type ResourceType

type ResourceType int32

ResourceType represents the type of a Resource

const (
	ResourceType_RESOURCE_TYPE_UNKNOWN ResourceType = 0
	ResourceType_CLUSTER               ResourceType = 1
	ResourceType_REPO                  ResourceType = 2
	ResourceType_SPEC_REPO             ResourceType = 3
	ResourceType_PROJECT               ResourceType = 4
)

func (ResourceType) Descriptor added in v2.7.0

func (ResourceType) Enum added in v2.7.0

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number added in v2.7.0

func (ResourceType) String

func (x ResourceType) String() string

func (ResourceType) Type added in v2.7.0

type ResourceValidationError added in v2.8.0

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

ResourceValidationError is the validation error returned by Resource.Validate if the designated constraints aren't met.

func (ResourceValidationError) Cause added in v2.8.0

func (e ResourceValidationError) Cause() error

Cause function returns cause value.

func (ResourceValidationError) Error added in v2.8.0

func (e ResourceValidationError) Error() string

Error satisfies the builtin error interface

func (ResourceValidationError) ErrorName added in v2.8.0

func (e ResourceValidationError) ErrorName() string

ErrorName returns error name.

func (ResourceValidationError) Field added in v2.8.0

func (e ResourceValidationError) Field() string

Field function returns field value.

func (ResourceValidationError) Key added in v2.8.0

func (e ResourceValidationError) Key() bool

Key function returns key value.

func (ResourceValidationError) Reason added in v2.8.0

func (e ResourceValidationError) Reason() string

Reason function returns reason value.

type RestoreAuthTokenRequest

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

RestoreAuthToken inserts a hashed token that has previously been extracted.

func (*RestoreAuthTokenRequest) Descriptor deprecated

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

Deprecated: Use RestoreAuthTokenRequest.ProtoReflect.Descriptor instead.

func (*RestoreAuthTokenRequest) GetToken

func (x *RestoreAuthTokenRequest) GetToken() *TokenInfo

func (*RestoreAuthTokenRequest) MarshalLogObject

func (x *RestoreAuthTokenRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RestoreAuthTokenRequest) ProtoMessage

func (*RestoreAuthTokenRequest) ProtoMessage()

func (*RestoreAuthTokenRequest) ProtoReflect added in v2.7.0

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

func (*RestoreAuthTokenRequest) Reset

func (x *RestoreAuthTokenRequest) Reset()

func (*RestoreAuthTokenRequest) String

func (x *RestoreAuthTokenRequest) String() string

func (*RestoreAuthTokenRequest) Validate added in v2.8.0

func (m *RestoreAuthTokenRequest) Validate() error

Validate checks the field values on RestoreAuthTokenRequest 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 (*RestoreAuthTokenRequest) ValidateAll added in v2.8.0

func (m *RestoreAuthTokenRequest) ValidateAll() error

ValidateAll checks the field values on RestoreAuthTokenRequest 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 RestoreAuthTokenRequestMultiError, or nil if none found.

type RestoreAuthTokenRequestMultiError added in v2.8.0

type RestoreAuthTokenRequestMultiError []error

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

func (RestoreAuthTokenRequestMultiError) AllErrors added in v2.8.0

func (m RestoreAuthTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RestoreAuthTokenRequestMultiError) Error added in v2.8.0

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

type RestoreAuthTokenRequestValidationError added in v2.8.0

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

RestoreAuthTokenRequestValidationError is the validation error returned by RestoreAuthTokenRequest.Validate if the designated constraints aren't met.

func (RestoreAuthTokenRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RestoreAuthTokenRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RestoreAuthTokenRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RestoreAuthTokenRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (RestoreAuthTokenRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (RestoreAuthTokenRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RestoreAuthTokenResponse

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

func (*RestoreAuthTokenResponse) Descriptor deprecated

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

Deprecated: Use RestoreAuthTokenResponse.ProtoReflect.Descriptor instead.

func (*RestoreAuthTokenResponse) MarshalLogObject

func (x *RestoreAuthTokenResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RestoreAuthTokenResponse) ProtoMessage

func (*RestoreAuthTokenResponse) ProtoMessage()

func (*RestoreAuthTokenResponse) ProtoReflect added in v2.7.0

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

func (*RestoreAuthTokenResponse) Reset

func (x *RestoreAuthTokenResponse) Reset()

func (*RestoreAuthTokenResponse) String

func (x *RestoreAuthTokenResponse) String() string

func (*RestoreAuthTokenResponse) Validate added in v2.8.0

func (m *RestoreAuthTokenResponse) Validate() error

Validate checks the field values on RestoreAuthTokenResponse 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 (*RestoreAuthTokenResponse) ValidateAll added in v2.8.0

func (m *RestoreAuthTokenResponse) ValidateAll() error

ValidateAll checks the field values on RestoreAuthTokenResponse 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 RestoreAuthTokenResponseMultiError, or nil if none found.

type RestoreAuthTokenResponseMultiError added in v2.8.0

type RestoreAuthTokenResponseMultiError []error

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

func (RestoreAuthTokenResponseMultiError) AllErrors added in v2.8.0

func (m RestoreAuthTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RestoreAuthTokenResponseMultiError) Error added in v2.8.0

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

type RestoreAuthTokenResponseValidationError added in v2.8.0

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

RestoreAuthTokenResponseValidationError is the validation error returned by RestoreAuthTokenResponse.Validate if the designated constraints aren't met.

func (RestoreAuthTokenResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RestoreAuthTokenResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RestoreAuthTokenResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RestoreAuthTokenResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (RestoreAuthTokenResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (RestoreAuthTokenResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RevokeAuthTokenRequest

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

func (*RevokeAuthTokenRequest) Descriptor deprecated

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

Deprecated: Use RevokeAuthTokenRequest.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokenRequest) GetToken

func (x *RevokeAuthTokenRequest) GetToken() string

func (*RevokeAuthTokenRequest) MarshalLogObject

func (x *RevokeAuthTokenRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RevokeAuthTokenRequest) ProtoMessage

func (*RevokeAuthTokenRequest) ProtoMessage()

func (*RevokeAuthTokenRequest) ProtoReflect added in v2.7.0

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

func (*RevokeAuthTokenRequest) Reset

func (x *RevokeAuthTokenRequest) Reset()

func (*RevokeAuthTokenRequest) String

func (x *RevokeAuthTokenRequest) String() string

func (*RevokeAuthTokenRequest) Validate added in v2.8.0

func (m *RevokeAuthTokenRequest) Validate() error

Validate checks the field values on RevokeAuthTokenRequest 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 (*RevokeAuthTokenRequest) ValidateAll added in v2.8.0

func (m *RevokeAuthTokenRequest) ValidateAll() error

ValidateAll checks the field values on RevokeAuthTokenRequest 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 RevokeAuthTokenRequestMultiError, or nil if none found.

type RevokeAuthTokenRequestMultiError added in v2.8.0

type RevokeAuthTokenRequestMultiError []error

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

func (RevokeAuthTokenRequestMultiError) AllErrors added in v2.8.0

func (m RevokeAuthTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeAuthTokenRequestMultiError) Error added in v2.8.0

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

type RevokeAuthTokenRequestValidationError added in v2.8.0

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

RevokeAuthTokenRequestValidationError is the validation error returned by RevokeAuthTokenRequest.Validate if the designated constraints aren't met.

func (RevokeAuthTokenRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RevokeAuthTokenRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RevokeAuthTokenRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RevokeAuthTokenRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (RevokeAuthTokenRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (RevokeAuthTokenRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RevokeAuthTokenResponse

type RevokeAuthTokenResponse struct {
	Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAuthTokenResponse) Descriptor deprecated

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

Deprecated: Use RevokeAuthTokenResponse.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokenResponse) GetNumber

func (x *RevokeAuthTokenResponse) GetNumber() int64

func (*RevokeAuthTokenResponse) MarshalLogObject

func (x *RevokeAuthTokenResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RevokeAuthTokenResponse) ProtoMessage

func (*RevokeAuthTokenResponse) ProtoMessage()

func (*RevokeAuthTokenResponse) ProtoReflect added in v2.7.0

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

func (*RevokeAuthTokenResponse) Reset

func (x *RevokeAuthTokenResponse) Reset()

func (*RevokeAuthTokenResponse) String

func (x *RevokeAuthTokenResponse) String() string

func (*RevokeAuthTokenResponse) Validate added in v2.8.0

func (m *RevokeAuthTokenResponse) Validate() error

Validate checks the field values on RevokeAuthTokenResponse 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 (*RevokeAuthTokenResponse) ValidateAll added in v2.8.0

func (m *RevokeAuthTokenResponse) ValidateAll() error

ValidateAll checks the field values on RevokeAuthTokenResponse 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 RevokeAuthTokenResponseMultiError, or nil if none found.

type RevokeAuthTokenResponseMultiError added in v2.8.0

type RevokeAuthTokenResponseMultiError []error

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

func (RevokeAuthTokenResponseMultiError) AllErrors added in v2.8.0

func (m RevokeAuthTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RevokeAuthTokenResponseMultiError) Error added in v2.8.0

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

type RevokeAuthTokenResponseValidationError added in v2.8.0

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

RevokeAuthTokenResponseValidationError is the validation error returned by RevokeAuthTokenResponse.Validate if the designated constraints aren't met.

func (RevokeAuthTokenResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RevokeAuthTokenResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RevokeAuthTokenResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RevokeAuthTokenResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (RevokeAuthTokenResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (RevokeAuthTokenResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RevokeAuthTokensForUserRequest

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

func (*RevokeAuthTokensForUserRequest) Descriptor deprecated

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

Deprecated: Use RevokeAuthTokensForUserRequest.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokensForUserRequest) GetUsername

func (x *RevokeAuthTokensForUserRequest) GetUsername() string

func (*RevokeAuthTokensForUserRequest) MarshalLogObject

func (x *RevokeAuthTokensForUserRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RevokeAuthTokensForUserRequest) ProtoMessage

func (*RevokeAuthTokensForUserRequest) ProtoMessage()

func (*RevokeAuthTokensForUserRequest) ProtoReflect added in v2.7.0

func (*RevokeAuthTokensForUserRequest) Reset

func (x *RevokeAuthTokensForUserRequest) Reset()

func (*RevokeAuthTokensForUserRequest) String

func (*RevokeAuthTokensForUserRequest) Validate added in v2.8.0

func (m *RevokeAuthTokensForUserRequest) Validate() error

Validate checks the field values on RevokeAuthTokensForUserRequest 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 (*RevokeAuthTokensForUserRequest) ValidateAll added in v2.8.0

func (m *RevokeAuthTokensForUserRequest) ValidateAll() error

ValidateAll checks the field values on RevokeAuthTokensForUserRequest 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 RevokeAuthTokensForUserRequestMultiError, or nil if none found.

type RevokeAuthTokensForUserRequestMultiError added in v2.8.0

type RevokeAuthTokensForUserRequestMultiError []error

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

func (RevokeAuthTokensForUserRequestMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (RevokeAuthTokensForUserRequestMultiError) Error added in v2.8.0

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

type RevokeAuthTokensForUserRequestValidationError added in v2.8.0

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

RevokeAuthTokensForUserRequestValidationError is the validation error returned by RevokeAuthTokensForUserRequest.Validate if the designated constraints aren't met.

func (RevokeAuthTokensForUserRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RevokeAuthTokensForUserRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RevokeAuthTokensForUserRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RevokeAuthTokensForUserRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (RevokeAuthTokensForUserRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (RevokeAuthTokensForUserRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RevokeAuthTokensForUserResponse

type RevokeAuthTokensForUserResponse struct {
	Number int64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAuthTokensForUserResponse) Descriptor deprecated

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

Deprecated: Use RevokeAuthTokensForUserResponse.ProtoReflect.Descriptor instead.

func (*RevokeAuthTokensForUserResponse) GetNumber

func (x *RevokeAuthTokensForUserResponse) GetNumber() int64

func (*RevokeAuthTokensForUserResponse) MarshalLogObject

func (*RevokeAuthTokensForUserResponse) ProtoMessage

func (*RevokeAuthTokensForUserResponse) ProtoMessage()

func (*RevokeAuthTokensForUserResponse) ProtoReflect added in v2.7.0

func (*RevokeAuthTokensForUserResponse) Reset

func (*RevokeAuthTokensForUserResponse) String

func (*RevokeAuthTokensForUserResponse) Validate added in v2.8.0

func (m *RevokeAuthTokensForUserResponse) Validate() error

Validate checks the field values on RevokeAuthTokensForUserResponse 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 (*RevokeAuthTokensForUserResponse) ValidateAll added in v2.8.0

func (m *RevokeAuthTokensForUserResponse) ValidateAll() error

ValidateAll checks the field values on RevokeAuthTokensForUserResponse 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 RevokeAuthTokensForUserResponseMultiError, or nil if none found.

type RevokeAuthTokensForUserResponseMultiError added in v2.8.0

type RevokeAuthTokensForUserResponseMultiError []error

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

func (RevokeAuthTokensForUserResponseMultiError) AllErrors added in v2.8.0

AllErrors returns a list of validation violation errors.

func (RevokeAuthTokensForUserResponseMultiError) Error added in v2.8.0

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

type RevokeAuthTokensForUserResponseValidationError added in v2.8.0

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

RevokeAuthTokensForUserResponseValidationError is the validation error returned by RevokeAuthTokensForUserResponse.Validate if the designated constraints aren't met.

func (RevokeAuthTokensForUserResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RevokeAuthTokensForUserResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RevokeAuthTokensForUserResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RevokeAuthTokensForUserResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (RevokeAuthTokensForUserResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (RevokeAuthTokensForUserResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type Role

type Role struct {
	Name        string       `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Permissions []Permission `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=auth_v2.Permission" json:"permissions,omitempty"`
	// Resources this role can be bound to.  For example, you can't apply clusterAdmin to a repo, so
	// REPO would not be listed here.
	CanBeBoundTo []ResourceType `` /* 135-byte string literal not displayed */
	// Resources this role is returned for.  For example, a principal might have clusterAdmin
	// permissions on the cluster, and this is what allows them to write to a repo.  So, clusterAdmin
	// is returned for the repo, even though it cannot be bound to a repo.
	ReturnedFor []ResourceType `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCanBeBoundTo added in v2.6.4

func (x *Role) GetCanBeBoundTo() []ResourceType

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPermissions

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

func (*Role) GetReturnedFor added in v2.6.4

func (x *Role) GetReturnedFor() []ResourceType

func (*Role) MarshalLogObject

func (x *Role) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect added in v2.7.0

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

func (*Role) Validate added in v2.8.0

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 v2.8.0

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 RoleBinding

type RoleBinding struct {

	// principal -> roles. All principal names include the structured prefix indicating their type.
	Entries map[string]*Roles `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

RoleBinding represents the set of roles principals have on a given Resource

func (*RoleBinding) Descriptor deprecated

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

Deprecated: Use RoleBinding.ProtoReflect.Descriptor instead.

func (*RoleBinding) GetEntries

func (x *RoleBinding) GetEntries() map[string]*Roles

func (*RoleBinding) MarshalLogObject

func (x *RoleBinding) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RoleBinding) ProtoMessage

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) ProtoReflect added in v2.7.0

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

func (*RoleBinding) Reset

func (x *RoleBinding) Reset()

func (*RoleBinding) String

func (x *RoleBinding) String() string

func (*RoleBinding) Validate added in v2.8.0

func (m *RoleBinding) Validate() error

Validate checks the field values on RoleBinding 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 (*RoleBinding) ValidateAll added in v2.8.0

func (m *RoleBinding) ValidateAll() error

ValidateAll checks the field values on RoleBinding 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 RoleBindingMultiError, or nil if none found.

type RoleBindingMultiError added in v2.8.0

type RoleBindingMultiError []error

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

func (RoleBindingMultiError) AllErrors added in v2.8.0

func (m RoleBindingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleBindingMultiError) Error added in v2.8.0

func (m RoleBindingMultiError) Error() string

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

type RoleBindingValidationError added in v2.8.0

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

RoleBindingValidationError is the validation error returned by RoleBinding.Validate if the designated constraints aren't met.

func (RoleBindingValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RoleBindingValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RoleBindingValidationError) ErrorName added in v2.8.0

func (e RoleBindingValidationError) ErrorName() string

ErrorName returns error name.

func (RoleBindingValidationError) Field added in v2.8.0

Field function returns field value.

func (RoleBindingValidationError) Key added in v2.8.0

Key function returns key value.

func (RoleBindingValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RoleMultiError added in v2.8.0

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 v2.8.0

func (m RoleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RoleMultiError) Error added in v2.8.0

func (m RoleMultiError) Error() string

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

type RoleValidationError added in v2.8.0

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 v2.8.0

func (e RoleValidationError) Cause() error

Cause function returns cause value.

func (RoleValidationError) Error added in v2.8.0

func (e RoleValidationError) Error() string

Error satisfies the builtin error interface

func (RoleValidationError) ErrorName added in v2.8.0

func (e RoleValidationError) ErrorName() string

ErrorName returns error name.

func (RoleValidationError) Field added in v2.8.0

func (e RoleValidationError) Field() string

Field function returns field value.

func (RoleValidationError) Key added in v2.8.0

func (e RoleValidationError) Key() bool

Key function returns key value.

func (RoleValidationError) Reason added in v2.8.0

func (e RoleValidationError) Reason() string

Reason function returns reason value.

type Roles

type Roles struct {
	Roles map[string]bool `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Roles represents the set of roles a principal has

func (*Roles) Descriptor deprecated

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

Deprecated: Use Roles.ProtoReflect.Descriptor instead.

func (*Roles) GetRoles

func (x *Roles) GetRoles() map[string]bool

func (*Roles) MarshalLogObject

func (x *Roles) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*Roles) ProtoMessage

func (*Roles) ProtoMessage()

func (*Roles) ProtoReflect added in v2.7.0

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

func (*Roles) Reset

func (x *Roles) Reset()

func (*Roles) String

func (x *Roles) String() string

func (*Roles) Validate added in v2.8.0

func (m *Roles) Validate() error

Validate checks the field values on Roles 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 (*Roles) ValidateAll added in v2.8.0

func (m *Roles) ValidateAll() error

ValidateAll checks the field values on Roles 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 RolesMultiError, or nil if none found.

type RolesMultiError added in v2.8.0

type RolesMultiError []error

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

func (RolesMultiError) AllErrors added in v2.8.0

func (m RolesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RolesMultiError) Error added in v2.8.0

func (m RolesMultiError) Error() string

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

type RolesValidationError added in v2.8.0

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

RolesValidationError is the validation error returned by Roles.Validate if the designated constraints aren't met.

func (RolesValidationError) Cause added in v2.8.0

func (e RolesValidationError) Cause() error

Cause function returns cause value.

func (RolesValidationError) Error added in v2.8.0

func (e RolesValidationError) Error() string

Error satisfies the builtin error interface

func (RolesValidationError) ErrorName added in v2.8.0

func (e RolesValidationError) ErrorName() string

ErrorName returns error name.

func (RolesValidationError) Field added in v2.8.0

func (e RolesValidationError) Field() string

Field function returns field value.

func (RolesValidationError) Key added in v2.8.0

func (e RolesValidationError) Key() bool

Key function returns key value.

func (RolesValidationError) Reason added in v2.8.0

func (e RolesValidationError) Reason() string

Reason function returns reason value.

type RotateRootTokenRequest

type RotateRootTokenRequest struct {

	// root_token is used as the new root token value. If it's unset, then a token will be auto-generated.
	RootToken string `protobuf:"bytes,1,opt,name=root_token,json=rootToken,proto3" json:"root_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateRootTokenRequest) Descriptor deprecated

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

Deprecated: Use RotateRootTokenRequest.ProtoReflect.Descriptor instead.

func (*RotateRootTokenRequest) GetRootToken

func (x *RotateRootTokenRequest) GetRootToken() string

func (*RotateRootTokenRequest) MarshalLogObject

func (x *RotateRootTokenRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RotateRootTokenRequest) ProtoMessage

func (*RotateRootTokenRequest) ProtoMessage()

func (*RotateRootTokenRequest) ProtoReflect added in v2.7.0

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

func (*RotateRootTokenRequest) Reset

func (x *RotateRootTokenRequest) Reset()

func (*RotateRootTokenRequest) String

func (x *RotateRootTokenRequest) String() string

func (*RotateRootTokenRequest) Validate added in v2.8.0

func (m *RotateRootTokenRequest) Validate() error

Validate checks the field values on RotateRootTokenRequest 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 (*RotateRootTokenRequest) ValidateAll added in v2.8.0

func (m *RotateRootTokenRequest) ValidateAll() error

ValidateAll checks the field values on RotateRootTokenRequest 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 RotateRootTokenRequestMultiError, or nil if none found.

type RotateRootTokenRequestMultiError added in v2.8.0

type RotateRootTokenRequestMultiError []error

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

func (RotateRootTokenRequestMultiError) AllErrors added in v2.8.0

func (m RotateRootTokenRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RotateRootTokenRequestMultiError) Error added in v2.8.0

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

type RotateRootTokenRequestValidationError added in v2.8.0

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

RotateRootTokenRequestValidationError is the validation error returned by RotateRootTokenRequest.Validate if the designated constraints aren't met.

func (RotateRootTokenRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RotateRootTokenRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RotateRootTokenRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RotateRootTokenRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (RotateRootTokenRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (RotateRootTokenRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type RotateRootTokenResponse

type RotateRootTokenResponse struct {
	RootToken string `protobuf:"bytes,1,opt,name=root_token,json=rootToken,proto3" json:"root_token,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateRootTokenResponse) Descriptor deprecated

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

Deprecated: Use RotateRootTokenResponse.ProtoReflect.Descriptor instead.

func (*RotateRootTokenResponse) GetRootToken

func (x *RotateRootTokenResponse) GetRootToken() string

func (*RotateRootTokenResponse) MarshalLogObject

func (x *RotateRootTokenResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*RotateRootTokenResponse) ProtoMessage

func (*RotateRootTokenResponse) ProtoMessage()

func (*RotateRootTokenResponse) ProtoReflect added in v2.7.0

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

func (*RotateRootTokenResponse) Reset

func (x *RotateRootTokenResponse) Reset()

func (*RotateRootTokenResponse) String

func (x *RotateRootTokenResponse) String() string

func (*RotateRootTokenResponse) Validate added in v2.8.0

func (m *RotateRootTokenResponse) Validate() error

Validate checks the field values on RotateRootTokenResponse 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 (*RotateRootTokenResponse) ValidateAll added in v2.8.0

func (m *RotateRootTokenResponse) ValidateAll() error

ValidateAll checks the field values on RotateRootTokenResponse 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 RotateRootTokenResponseMultiError, or nil if none found.

type RotateRootTokenResponseMultiError added in v2.8.0

type RotateRootTokenResponseMultiError []error

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

func (RotateRootTokenResponseMultiError) AllErrors added in v2.8.0

func (m RotateRootTokenResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RotateRootTokenResponseMultiError) Error added in v2.8.0

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

type RotateRootTokenResponseValidationError added in v2.8.0

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

RotateRootTokenResponseValidationError is the validation error returned by RotateRootTokenResponse.Validate if the designated constraints aren't met.

func (RotateRootTokenResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (RotateRootTokenResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (RotateRootTokenResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (RotateRootTokenResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (RotateRootTokenResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (RotateRootTokenResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type SessionInfo

type SessionInfo struct {

	// nonce is used by /authorization-code/callback to validate session
	// continuity with the IdP after a user has arrived there from GetOIDCLogin().
	// This is a 30-character CSPRNG-generated string.
	Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// email contains the email adddress associated with a user in their OIDC ID
	// provider. Currently users are identified with their email address rather
	// than their OIDC subject identifier to make switching between OIDC ID
	// providers easier for users, and to make user identities more easily
	// comprehensible in Pachyderm. The OIDC spec doesn't require that users'
	// emails be present or unique, but we think this will be preferable in
	// practice.
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// conversion_err indicates whether an error was encountered while exchanging
	// an auth code for an access token, or while obtaining a user's email (in
	// /authorization-code/callback). Storing the error state here allows any
	// sibling calls to Authenticate() (i.e. using the same OIDC state token) to
	// notify their caller that an error has occurred. We avoid passing the caller
	// any details of the error (which are logged by Pachyderm) to avoid giving
	// information to a user who has network access to Pachyderm but not an
	// account in the OIDC provider.
	ConversionErr bool `protobuf:"varint,3,opt,name=conversion_err,json=conversionErr,proto3" json:"conversion_err,omitempty"`
	// contains filtered or unexported fields
}

SessionInfo stores information associated with one OIDC authentication session (i.e. a single instance of a single user logging in). Sessions are short-lived and stored in the 'oidc-authns' collection, keyed by the OIDC 'state' token (30-character CSPRNG-generated string). 'GetOIDCLogin' generates and inserts entries, then /authorization-code/callback retrieves an access token from the ID provider and uses it to retrive the caller's email and store it in 'email', and finally Authorize() returns a Pachyderm token identified with that email address as a subject in Pachyderm.

func (*SessionInfo) Descriptor deprecated

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

Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.

func (*SessionInfo) GetConversionErr

func (x *SessionInfo) GetConversionErr() bool

func (*SessionInfo) GetEmail

func (x *SessionInfo) GetEmail() string

func (*SessionInfo) GetNonce

func (x *SessionInfo) GetNonce() string

func (*SessionInfo) MarshalLogObject

func (x *SessionInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SessionInfo) ProtoMessage

func (*SessionInfo) ProtoMessage()

func (*SessionInfo) ProtoReflect added in v2.7.0

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

func (*SessionInfo) Reset

func (x *SessionInfo) Reset()

func (*SessionInfo) String

func (x *SessionInfo) String() string

func (*SessionInfo) Validate added in v2.8.0

func (m *SessionInfo) Validate() error

Validate checks the field values on SessionInfo 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 (*SessionInfo) ValidateAll added in v2.8.0

func (m *SessionInfo) ValidateAll() error

ValidateAll checks the field values on SessionInfo 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 SessionInfoMultiError, or nil if none found.

type SessionInfoMultiError added in v2.8.0

type SessionInfoMultiError []error

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

func (SessionInfoMultiError) AllErrors added in v2.8.0

func (m SessionInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SessionInfoMultiError) Error added in v2.8.0

func (m SessionInfoMultiError) Error() string

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

type SessionInfoValidationError added in v2.8.0

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

SessionInfoValidationError is the validation error returned by SessionInfo.Validate if the designated constraints aren't met.

func (SessionInfoValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (SessionInfoValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (SessionInfoValidationError) ErrorName added in v2.8.0

func (e SessionInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SessionInfoValidationError) Field added in v2.8.0

Field function returns field value.

func (SessionInfoValidationError) Key added in v2.8.0

Key function returns key value.

func (SessionInfoValidationError) Reason added in v2.8.0

Reason function returns reason value.

type SetConfigurationRequest

type SetConfigurationRequest struct {
	Configuration *OIDCConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*SetConfigurationRequest) Descriptor deprecated

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

Deprecated: Use SetConfigurationRequest.ProtoReflect.Descriptor instead.

func (*SetConfigurationRequest) GetConfiguration

func (x *SetConfigurationRequest) GetConfiguration() *OIDCConfig

func (*SetConfigurationRequest) MarshalLogObject

func (x *SetConfigurationRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SetConfigurationRequest) ProtoMessage

func (*SetConfigurationRequest) ProtoMessage()

func (*SetConfigurationRequest) ProtoReflect added in v2.7.0

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

func (*SetConfigurationRequest) Reset

func (x *SetConfigurationRequest) Reset()

func (*SetConfigurationRequest) String

func (x *SetConfigurationRequest) String() string

func (*SetConfigurationRequest) Validate added in v2.8.0

func (m *SetConfigurationRequest) Validate() error

Validate checks the field values on SetConfigurationRequest 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 (*SetConfigurationRequest) ValidateAll added in v2.8.0

func (m *SetConfigurationRequest) ValidateAll() error

ValidateAll checks the field values on SetConfigurationRequest 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 SetConfigurationRequestMultiError, or nil if none found.

type SetConfigurationRequestMultiError added in v2.8.0

type SetConfigurationRequestMultiError []error

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

func (SetConfigurationRequestMultiError) AllErrors added in v2.8.0

func (m SetConfigurationRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetConfigurationRequestMultiError) Error added in v2.8.0

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

type SetConfigurationRequestValidationError added in v2.8.0

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

SetConfigurationRequestValidationError is the validation error returned by SetConfigurationRequest.Validate if the designated constraints aren't met.

func (SetConfigurationRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (SetConfigurationRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (SetConfigurationRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (SetConfigurationRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (SetConfigurationRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (SetConfigurationRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type SetConfigurationResponse

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

func (*SetConfigurationResponse) Descriptor deprecated

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

Deprecated: Use SetConfigurationResponse.ProtoReflect.Descriptor instead.

func (*SetConfigurationResponse) MarshalLogObject

func (x *SetConfigurationResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SetConfigurationResponse) ProtoMessage

func (*SetConfigurationResponse) ProtoMessage()

func (*SetConfigurationResponse) ProtoReflect added in v2.7.0

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

func (*SetConfigurationResponse) Reset

func (x *SetConfigurationResponse) Reset()

func (*SetConfigurationResponse) String

func (x *SetConfigurationResponse) String() string

func (*SetConfigurationResponse) Validate added in v2.8.0

func (m *SetConfigurationResponse) Validate() error

Validate checks the field values on SetConfigurationResponse 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 (*SetConfigurationResponse) ValidateAll added in v2.8.0

func (m *SetConfigurationResponse) ValidateAll() error

ValidateAll checks the field values on SetConfigurationResponse 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 SetConfigurationResponseMultiError, or nil if none found.

type SetConfigurationResponseMultiError added in v2.8.0

type SetConfigurationResponseMultiError []error

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

func (SetConfigurationResponseMultiError) AllErrors added in v2.8.0

func (m SetConfigurationResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetConfigurationResponseMultiError) Error added in v2.8.0

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

type SetConfigurationResponseValidationError added in v2.8.0

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

SetConfigurationResponseValidationError is the validation error returned by SetConfigurationResponse.Validate if the designated constraints aren't met.

func (SetConfigurationResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (SetConfigurationResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (SetConfigurationResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (SetConfigurationResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (SetConfigurationResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (SetConfigurationResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type SetGroupsForUserRequest

type SetGroupsForUserRequest struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Groups   []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

func (*SetGroupsForUserRequest) Descriptor deprecated

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

Deprecated: Use SetGroupsForUserRequest.ProtoReflect.Descriptor instead.

func (*SetGroupsForUserRequest) GetGroups

func (x *SetGroupsForUserRequest) GetGroups() []string

func (*SetGroupsForUserRequest) GetUsername

func (x *SetGroupsForUserRequest) GetUsername() string

func (*SetGroupsForUserRequest) MarshalLogObject

func (x *SetGroupsForUserRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SetGroupsForUserRequest) ProtoMessage

func (*SetGroupsForUserRequest) ProtoMessage()

func (*SetGroupsForUserRequest) ProtoReflect added in v2.7.0

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

func (*SetGroupsForUserRequest) Reset

func (x *SetGroupsForUserRequest) Reset()

func (*SetGroupsForUserRequest) String

func (x *SetGroupsForUserRequest) String() string

func (*SetGroupsForUserRequest) Validate added in v2.8.0

func (m *SetGroupsForUserRequest) Validate() error

Validate checks the field values on SetGroupsForUserRequest 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 (*SetGroupsForUserRequest) ValidateAll added in v2.8.0

func (m *SetGroupsForUserRequest) ValidateAll() error

ValidateAll checks the field values on SetGroupsForUserRequest 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 SetGroupsForUserRequestMultiError, or nil if none found.

type SetGroupsForUserRequestMultiError added in v2.8.0

type SetGroupsForUserRequestMultiError []error

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

func (SetGroupsForUserRequestMultiError) AllErrors added in v2.8.0

func (m SetGroupsForUserRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetGroupsForUserRequestMultiError) Error added in v2.8.0

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

type SetGroupsForUserRequestValidationError added in v2.8.0

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

SetGroupsForUserRequestValidationError is the validation error returned by SetGroupsForUserRequest.Validate if the designated constraints aren't met.

func (SetGroupsForUserRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (SetGroupsForUserRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (SetGroupsForUserRequestValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (SetGroupsForUserRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (SetGroupsForUserRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (SetGroupsForUserRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type SetGroupsForUserResponse

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

func (*SetGroupsForUserResponse) Descriptor deprecated

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

Deprecated: Use SetGroupsForUserResponse.ProtoReflect.Descriptor instead.

func (*SetGroupsForUserResponse) MarshalLogObject

func (x *SetGroupsForUserResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*SetGroupsForUserResponse) ProtoMessage

func (*SetGroupsForUserResponse) ProtoMessage()

func (*SetGroupsForUserResponse) ProtoReflect added in v2.7.0

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

func (*SetGroupsForUserResponse) Reset

func (x *SetGroupsForUserResponse) Reset()

func (*SetGroupsForUserResponse) String

func (x *SetGroupsForUserResponse) String() string

func (*SetGroupsForUserResponse) Validate added in v2.8.0

func (m *SetGroupsForUserResponse) Validate() error

Validate checks the field values on SetGroupsForUserResponse 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 (*SetGroupsForUserResponse) ValidateAll added in v2.8.0

func (m *SetGroupsForUserResponse) ValidateAll() error

ValidateAll checks the field values on SetGroupsForUserResponse 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 SetGroupsForUserResponseMultiError, or nil if none found.

type SetGroupsForUserResponseMultiError added in v2.8.0

type SetGroupsForUserResponseMultiError []error

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

func (SetGroupsForUserResponseMultiError) AllErrors added in v2.8.0

func (m SetGroupsForUserResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetGroupsForUserResponseMultiError) Error added in v2.8.0

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

type SetGroupsForUserResponseValidationError added in v2.8.0

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

SetGroupsForUserResponseValidationError is the validation error returned by SetGroupsForUserResponse.Validate if the designated constraints aren't met.

func (SetGroupsForUserResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (SetGroupsForUserResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (SetGroupsForUserResponseValidationError) ErrorName added in v2.8.0

ErrorName returns error name.

func (SetGroupsForUserResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (SetGroupsForUserResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (SetGroupsForUserResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

type TokenInfo

type TokenInfo struct {

	// Subject (i.e. Pachyderm account) that a given token authorizes.
	// See the note at the top of the doc for an explanation of subject structure.
	Subject     string                 `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Expiration  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
	HashedToken string                 `protobuf:"bytes,3,opt,name=hashed_token,json=hashedToken,proto3" json:"hashed_token,omitempty"`
	// contains filtered or unexported fields
}

TokenInfo is the 'value' of an auth token 'key' in the 'tokens' collection

func (*TokenInfo) Descriptor deprecated

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

Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead.

func (*TokenInfo) GetExpiration

func (x *TokenInfo) GetExpiration() *timestamppb.Timestamp

func (*TokenInfo) GetHashedToken

func (x *TokenInfo) GetHashedToken() string

func (*TokenInfo) GetSubject

func (x *TokenInfo) GetSubject() string

func (*TokenInfo) MarshalLogObject

func (x *TokenInfo) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) ProtoReflect added in v2.7.0

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

func (*TokenInfo) Reset

func (x *TokenInfo) Reset()

func (*TokenInfo) String

func (x *TokenInfo) String() string

func (*TokenInfo) Validate added in v2.8.0

func (m *TokenInfo) Validate() error

Validate checks the field values on TokenInfo 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 (*TokenInfo) ValidateAll added in v2.8.0

func (m *TokenInfo) ValidateAll() error

ValidateAll checks the field values on TokenInfo 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 TokenInfoMultiError, or nil if none found.

type TokenInfoMultiError added in v2.8.0

type TokenInfoMultiError []error

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

func (TokenInfoMultiError) AllErrors added in v2.8.0

func (m TokenInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TokenInfoMultiError) Error added in v2.8.0

func (m TokenInfoMultiError) Error() string

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

type TokenInfoValidationError added in v2.8.0

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

TokenInfoValidationError is the validation error returned by TokenInfo.Validate if the designated constraints aren't met.

func (TokenInfoValidationError) Cause added in v2.8.0

func (e TokenInfoValidationError) Cause() error

Cause function returns cause value.

func (TokenInfoValidationError) Error added in v2.8.0

func (e TokenInfoValidationError) Error() string

Error satisfies the builtin error interface

func (TokenInfoValidationError) ErrorName added in v2.8.0

func (e TokenInfoValidationError) ErrorName() string

ErrorName returns error name.

func (TokenInfoValidationError) Field added in v2.8.0

func (e TokenInfoValidationError) Field() string

Field function returns field value.

func (TokenInfoValidationError) Key added in v2.8.0

Key function returns key value.

func (TokenInfoValidationError) Reason added in v2.8.0

func (e TokenInfoValidationError) Reason() string

Reason function returns reason value.

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer must be embedded to have forward compatible implementations.

func (UnimplementedAPIServer) Activate

func (UnimplementedAPIServer) Authenticate

func (UnimplementedAPIServer) Authorize

func (UnimplementedAPIServer) Deactivate

func (UnimplementedAPIServer) GetGroups

func (UnimplementedAPIServer) GetGroupsForPrincipal

func (UnimplementedAPIServer) GetOIDCLogin

func (UnimplementedAPIServer) GetPermissions

func (UnimplementedAPIServer) GetRobotToken

func (UnimplementedAPIServer) GetRoleBinding

func (UnimplementedAPIServer) GetUsers

func (UnimplementedAPIServer) ModifyMembers

func (UnimplementedAPIServer) RevokeAuthToken

func (UnimplementedAPIServer) RotateRootToken

func (UnimplementedAPIServer) WhoAmI

type UnsafeAPIServer added in v2.7.0

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

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

type Users

type Users struct {
	Usernames map[string]bool `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Users) Descriptor deprecated

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

Deprecated: Use Users.ProtoReflect.Descriptor instead.

func (*Users) GetUsernames

func (x *Users) GetUsernames() map[string]bool

func (*Users) MarshalLogObject

func (x *Users) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) ProtoReflect added in v2.7.0

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

func (*Users) Reset

func (x *Users) Reset()

func (*Users) String

func (x *Users) String() string

func (*Users) Validate added in v2.8.0

func (m *Users) Validate() error

Validate checks the field values on Users 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 (*Users) ValidateAll added in v2.8.0

func (m *Users) ValidateAll() error

ValidateAll checks the field values on Users 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 UsersMultiError, or nil if none found.

type UsersMultiError added in v2.8.0

type UsersMultiError []error

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

func (UsersMultiError) AllErrors added in v2.8.0

func (m UsersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersMultiError) Error added in v2.8.0

func (m UsersMultiError) Error() string

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

type UsersValidationError added in v2.8.0

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

UsersValidationError is the validation error returned by Users.Validate if the designated constraints aren't met.

func (UsersValidationError) Cause added in v2.8.0

func (e UsersValidationError) Cause() error

Cause function returns cause value.

func (UsersValidationError) Error added in v2.8.0

func (e UsersValidationError) Error() string

Error satisfies the builtin error interface

func (UsersValidationError) ErrorName added in v2.8.0

func (e UsersValidationError) ErrorName() string

ErrorName returns error name.

func (UsersValidationError) Field added in v2.8.0

func (e UsersValidationError) Field() string

Field function returns field value.

func (UsersValidationError) Key added in v2.8.0

func (e UsersValidationError) Key() bool

Key function returns key value.

func (UsersValidationError) Reason added in v2.8.0

func (e UsersValidationError) Reason() string

Reason function returns reason value.

type WhoAmIRequest

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

func (*WhoAmIRequest) Descriptor deprecated

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

Deprecated: Use WhoAmIRequest.ProtoReflect.Descriptor instead.

func (*WhoAmIRequest) MarshalLogObject

func (x *WhoAmIRequest) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*WhoAmIRequest) ProtoMessage

func (*WhoAmIRequest) ProtoMessage()

func (*WhoAmIRequest) ProtoReflect added in v2.7.0

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

func (*WhoAmIRequest) Reset

func (x *WhoAmIRequest) Reset()

func (*WhoAmIRequest) String

func (x *WhoAmIRequest) String() string

func (*WhoAmIRequest) Validate added in v2.8.0

func (m *WhoAmIRequest) Validate() error

Validate checks the field values on WhoAmIRequest 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 (*WhoAmIRequest) ValidateAll added in v2.8.0

func (m *WhoAmIRequest) ValidateAll() error

ValidateAll checks the field values on WhoAmIRequest 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 WhoAmIRequestMultiError, or nil if none found.

type WhoAmIRequestMultiError added in v2.8.0

type WhoAmIRequestMultiError []error

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

func (WhoAmIRequestMultiError) AllErrors added in v2.8.0

func (m WhoAmIRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WhoAmIRequestMultiError) Error added in v2.8.0

func (m WhoAmIRequestMultiError) Error() string

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

type WhoAmIRequestValidationError added in v2.8.0

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

WhoAmIRequestValidationError is the validation error returned by WhoAmIRequest.Validate if the designated constraints aren't met.

func (WhoAmIRequestValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (WhoAmIRequestValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (WhoAmIRequestValidationError) ErrorName added in v2.8.0

func (e WhoAmIRequestValidationError) ErrorName() string

ErrorName returns error name.

func (WhoAmIRequestValidationError) Field added in v2.8.0

Field function returns field value.

func (WhoAmIRequestValidationError) Key added in v2.8.0

Key function returns key value.

func (WhoAmIRequestValidationError) Reason added in v2.8.0

Reason function returns reason value.

type WhoAmIResponse

type WhoAmIResponse struct {
	Username   string                 `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Expiration *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// contains filtered or unexported fields
}

func (*WhoAmIResponse) Descriptor deprecated

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

Deprecated: Use WhoAmIResponse.ProtoReflect.Descriptor instead.

func (*WhoAmIResponse) GetExpiration

func (x *WhoAmIResponse) GetExpiration() *timestamppb.Timestamp

func (*WhoAmIResponse) GetUsername

func (x *WhoAmIResponse) GetUsername() string

func (*WhoAmIResponse) MarshalLogObject

func (x *WhoAmIResponse) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (*WhoAmIResponse) ProtoMessage

func (*WhoAmIResponse) ProtoMessage()

func (*WhoAmIResponse) ProtoReflect added in v2.7.0

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

func (*WhoAmIResponse) Reset

func (x *WhoAmIResponse) Reset()

func (*WhoAmIResponse) String

func (x *WhoAmIResponse) String() string

func (*WhoAmIResponse) Validate added in v2.8.0

func (m *WhoAmIResponse) Validate() error

Validate checks the field values on WhoAmIResponse 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 (*WhoAmIResponse) ValidateAll added in v2.8.0

func (m *WhoAmIResponse) ValidateAll() error

ValidateAll checks the field values on WhoAmIResponse 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 WhoAmIResponseMultiError, or nil if none found.

type WhoAmIResponseMultiError added in v2.8.0

type WhoAmIResponseMultiError []error

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

func (WhoAmIResponseMultiError) AllErrors added in v2.8.0

func (m WhoAmIResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WhoAmIResponseMultiError) Error added in v2.8.0

func (m WhoAmIResponseMultiError) Error() string

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

type WhoAmIResponseValidationError added in v2.8.0

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

WhoAmIResponseValidationError is the validation error returned by WhoAmIResponse.Validate if the designated constraints aren't met.

func (WhoAmIResponseValidationError) Cause added in v2.8.0

Cause function returns cause value.

func (WhoAmIResponseValidationError) Error added in v2.8.0

Error satisfies the builtin error interface

func (WhoAmIResponseValidationError) ErrorName added in v2.8.0

func (e WhoAmIResponseValidationError) ErrorName() string

ErrorName returns error name.

func (WhoAmIResponseValidationError) Field added in v2.8.0

Field function returns field value.

func (WhoAmIResponseValidationError) Key added in v2.8.0

Key function returns key value.

func (WhoAmIResponseValidationError) Reason added in v2.8.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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