auth

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAuth = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuth   = fmt.Errorf("proto: integer overflow")
)
View Source
var Scope_name = map[int32]string{
	0: "NONE",
	1: "READER",
	2: "WRITER",
	3: "OWNER",
}
View Source
var Scope_value = map[string]int32{
	"NONE":   0,
	"READER": 1,
	"WRITER": 2,
	"OWNER":  3,
}
View Source
var TokenInfo_TokenSource_name = map[int32]string{
	0: "INVALID",
	1: "AUTHENTICATE",
	2: "GET_TOKEN",
}
View Source
var TokenInfo_TokenSource_value = map[string]int32{
	"INVALID":      0,
	"AUTHENTICATE": 1,
	"GET_TOKEN":    2,
}

Functions

func RegisterAPIServer

func RegisterAPIServer(s *grpc.Server, srv APIServer)

Types

type ACL

type ACL struct {
	// principal -> scope. All principals are the default principal of a Pachyderm
	// subject (i.e. all keys in this map are strings prefixed with either
	// "github:" or "robot:", followed by the name of a GitHub user, all of whom
	// are Pachyderm subjects, or a Pachyderm robot user)
	Entries              map[string]Scope `` /* 176-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ACL) Descriptor

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

func (*ACL) GetEntries

func (m *ACL) GetEntries() map[string]Scope

func (*ACL) Marshal

func (m *ACL) Marshal() (dAtA []byte, err error)

func (*ACL) MarshalTo

func (m *ACL) MarshalTo(dAtA []byte) (int, error)

func (*ACL) ProtoMessage

func (*ACL) ProtoMessage()

func (*ACL) Reset

func (m *ACL) Reset()

func (*ACL) Size

func (m *ACL) Size() (n int)

func (*ACL) String

func (m *ACL) String() string

func (*ACL) Unmarshal

func (m *ACL) Unmarshal(dAtA []byte) error

func (*ACL) XXX_DiscardUnknown

func (m *ACL) XXX_DiscardUnknown()

func (*ACL) XXX_Marshal

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

func (*ACL) XXX_Merge

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

func (*ACL) XXX_Size

func (m *ACL) XXX_Size() int

func (*ACL) XXX_Unmarshal

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

type ACLEntry

type ACLEntry struct {
	// username is the principal posessing this level of access to this ACL's
	// repo (despite the name, this principal may be for a human github user or a
	// pachyderm robot)
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// scope is the level of access that the owner of 'principal' has to this
	// ACL's repo (actually a role in typical security terminology)
	Scope                Scope    `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_8.Scope" json:"scope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ACLEntry) Descriptor

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

func (*ACLEntry) GetScope

func (m *ACLEntry) GetScope() Scope

func (*ACLEntry) GetUsername

func (m *ACLEntry) GetUsername() string

func (*ACLEntry) Marshal

func (m *ACLEntry) Marshal() (dAtA []byte, err error)

func (*ACLEntry) MarshalTo

func (m *ACLEntry) MarshalTo(dAtA []byte) (int, error)

func (*ACLEntry) ProtoMessage

func (*ACLEntry) ProtoMessage()

func (*ACLEntry) Reset

func (m *ACLEntry) Reset()

func (*ACLEntry) Size

func (m *ACLEntry) Size() (n int)

func (*ACLEntry) String

func (m *ACLEntry) String() string

func (*ACLEntry) Unmarshal

func (m *ACLEntry) Unmarshal(dAtA []byte) error

func (*ACLEntry) XXX_DiscardUnknown

func (m *ACLEntry) XXX_DiscardUnknown()

func (*ACLEntry) XXX_Marshal

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

func (*ACLEntry) XXX_Merge

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

func (*ACLEntry) XXX_Size

func (m *ACLEntry) XXX_Size() int

func (*ACLEntry) XXX_Unmarshal

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

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)
	// GetAdmins returns the current list of cluster admins
	GetAdmins(ctx context.Context, in *GetAdminsRequest, opts ...grpc.CallOption) (*GetAdminsResponse, error)
	// ModifyAdmins adds or removes admins from the cluster
	ModifyAdmins(ctx context.Context, in *ModifyAdminsRequest, opts ...grpc.CallOption) (*ModifyAdminsResponse, error)
	Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error)
	Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error)
	WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error)
	GetScope(ctx context.Context, in *GetScopeRequest, opts ...grpc.CallOption) (*GetScopeResponse, error)
	SetScope(ctx context.Context, in *SetScopeRequest, opts ...grpc.CallOption) (*SetScopeResponse, error)
	GetACL(ctx context.Context, in *GetACLRequest, opts ...grpc.CallOption) (*GetACLResponse, error)
	SetACL(ctx context.Context, in *SetACLRequest, opts ...grpc.CallOption) (*SetACLResponse, error)
	GetAuthToken(ctx context.Context, in *GetAuthTokenRequest, opts ...grpc.CallOption) (*GetAuthTokenResponse, error)
	ExtendAuthToken(ctx context.Context, in *ExtendAuthTokenRequest, opts ...grpc.CallOption) (*ExtendAuthTokenResponse, error)
	RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, 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)
	GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error)
	GetOneTimePassword(ctx context.Context, in *GetOneTimePasswordRequest, opts ...grpc.CallOption) (*GetOneTimePasswordResponse, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) 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)
	// GetAdmins returns the current list of cluster admins
	GetAdmins(context.Context, *GetAdminsRequest) (*GetAdminsResponse, error)
	// ModifyAdmins adds or removes admins from the cluster
	ModifyAdmins(context.Context, *ModifyAdminsRequest) (*ModifyAdminsResponse, error)
	Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error)
	Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error)
	WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error)
	GetScope(context.Context, *GetScopeRequest) (*GetScopeResponse, error)
	SetScope(context.Context, *SetScopeRequest) (*SetScopeResponse, error)
	GetACL(context.Context, *GetACLRequest) (*GetACLResponse, error)
	SetACL(context.Context, *SetACLRequest) (*SetACLResponse, error)
	GetAuthToken(context.Context, *GetAuthTokenRequest) (*GetAuthTokenResponse, error)
	ExtendAuthToken(context.Context, *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error)
	RevokeAuthToken(context.Context, *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
	SetGroupsForUser(context.Context, *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)
	ModifyMembers(context.Context, *ModifyMembersRequest) (*ModifyMembersResponse, error)
	GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error)
	GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
	GetOneTimePassword(context.Context, *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error)
}

APIServer is the server API for API service.

type ActivateRequest

type ActivateRequest struct {
	// If set, Pachyderm will authenticate the caller as this user.
	// - If set to a github user (i.e. it has a 'github:' prefix or no prefix)
	//   then Pachyderm will confirm that it matches the user associated with
	//   'github_token'
	// - If set to a robot user (i.e. it has a 'robot:' prefix), then Pachyderm
	//   will generate a new token for the robot user; this token will be the only
	//   way to administer this cluster until more admins are added.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// This is the token returned by GitHub and used to authenticate the caller.
	// When Pachyderm is deployed locally, setting this value to a given string
	// will automatically authenticate the caller as a GitHub user whose username
	// is that string (unless this "looks like" a GitHub access code, in which
	// case Pachyderm does retrieve the corresponding GitHub username)
	GitHubToken          string   `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ActivateRequest mirrors AuthenticateRequest. The caller is authenticated via GitHub OAuth, and then promoted to the cluster's first Admin. Afterwards, the caller can promote other users to Admin and remove themselves

func (*ActivateRequest) Descriptor

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

func (*ActivateRequest) GetGitHubToken

func (m *ActivateRequest) GetGitHubToken() string

func (*ActivateRequest) GetSubject

func (m *ActivateRequest) GetSubject() string

func (*ActivateRequest) Marshal

func (m *ActivateRequest) Marshal() (dAtA []byte, err error)

func (*ActivateRequest) MarshalTo

func (m *ActivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) Reset

func (m *ActivateRequest) Reset()

func (*ActivateRequest) Size

func (m *ActivateRequest) Size() (n int)

func (*ActivateRequest) String

func (m *ActivateRequest) String() string

func (*ActivateRequest) Unmarshal

func (m *ActivateRequest) Unmarshal(dAtA []byte) error

func (*ActivateRequest) XXX_DiscardUnknown

func (m *ActivateRequest) XXX_DiscardUnknown()

func (*ActivateRequest) XXX_Marshal

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

func (*ActivateRequest) XXX_Merge

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

func (*ActivateRequest) XXX_Size

func (m *ActivateRequest) XXX_Size() int

func (*ActivateRequest) XXX_Unmarshal

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

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

func (*ActivateResponse) Descriptor

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

func (*ActivateResponse) GetPachToken

func (m *ActivateResponse) GetPachToken() string

func (*ActivateResponse) Marshal

func (m *ActivateResponse) Marshal() (dAtA []byte, err error)

func (*ActivateResponse) MarshalTo

func (m *ActivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*ActivateResponse) ProtoMessage

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) Reset

func (m *ActivateResponse) Reset()

func (*ActivateResponse) Size

func (m *ActivateResponse) Size() (n int)

func (*ActivateResponse) String

func (m *ActivateResponse) String() string

func (*ActivateResponse) Unmarshal

func (m *ActivateResponse) Unmarshal(dAtA []byte) error

func (*ActivateResponse) XXX_DiscardUnknown

func (m *ActivateResponse) XXX_DiscardUnknown()

func (*ActivateResponse) XXX_Marshal

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

func (*ActivateResponse) XXX_Merge

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

func (*ActivateResponse) XXX_Size

func (m *ActivateResponse) XXX_Size() int

func (*ActivateResponse) XXX_Unmarshal

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

type AuthConfig

type AuthConfig struct {
	// live_config_version identifies the version of a given pachyderm cluster's
	// current auth configuration; if a user tries to write an auth configuration
	// where live_config_version doesn't match the version of the cluster's
	// current config, the write will fail. This allows for safe
	// read+modify+write config changes.
	LiveConfigVersion int64 `protobuf:"varint,1,opt,name=live_config_version,json=liveConfigVersion,proto3" json:"live_config_version,omitempty"`
	// id_providers describes external ID providers that can authenticate
	// Pachyderm users (e.g. GitHub, Okta, etc)
	IDProviders          []*IDProvider                  `protobuf:"bytes,2,rep,name=id_providers,json=idProviders,proto3" json:"id_providers,omitempty"`
	SAMLServiceOptions   *AuthConfig_SAMLServiceOptions `protobuf:"bytes,3,opt,name=saml_svc_options,json=samlSvcOptions,proto3" json:"saml_svc_options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

Configure Pachyderm's auth system (particularly authentication backends

func (*AuthConfig) Descriptor

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

func (*AuthConfig) GetIDProviders

func (m *AuthConfig) GetIDProviders() []*IDProvider

func (*AuthConfig) GetLiveConfigVersion

func (m *AuthConfig) GetLiveConfigVersion() int64

func (*AuthConfig) GetSAMLServiceOptions

func (m *AuthConfig) GetSAMLServiceOptions() *AuthConfig_SAMLServiceOptions

func (*AuthConfig) Marshal

func (m *AuthConfig) Marshal() (dAtA []byte, err error)

func (*AuthConfig) MarshalTo

func (m *AuthConfig) MarshalTo(dAtA []byte) (int, error)

func (*AuthConfig) ProtoMessage

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) Reset

func (m *AuthConfig) Reset()

func (*AuthConfig) Size

func (m *AuthConfig) Size() (n int)

func (*AuthConfig) String

func (m *AuthConfig) String() string

func (*AuthConfig) Unmarshal

func (m *AuthConfig) Unmarshal(dAtA []byte) error

func (*AuthConfig) XXX_DiscardUnknown

func (m *AuthConfig) XXX_DiscardUnknown()

func (*AuthConfig) XXX_Marshal

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

func (*AuthConfig) XXX_Merge

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

func (*AuthConfig) XXX_Size

func (m *AuthConfig) XXX_Size() int

func (*AuthConfig) XXX_Unmarshal

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

type AuthConfig_SAMLServiceOptions

type AuthConfig_SAMLServiceOptions struct {
	// acs is the URL of Pachd's Assertion Consumer Service (i.e. where SAML ID
	// providers can send SAMLResponses to Pachd). If Pachyderm is running in a
	// private cluster, the cluster admin would be responsible for setting up a
	// domain name/proxy to resolve to pachd:654/acs
	ACSURL string `protobuf:"bytes,1,opt,name=acs_url,json=acsUrl,proto3" json:"acs_url,omitempty"`
	// metadata_url is the public URL of Pachd's SAML metadata service (some
	// SAML ID providers will query this for information about Pachyderm's SAML
	// implementation and use it to idenfity Pachyderm as a service provider).
	// If Pachyderm is running in a private cluster, the cluster admin would be
	// responsible for creating this URL (which must resolve to
	// pachd:654/saml/metadata)
	MetadataURL string `protobuf:"bytes,2,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
	// dash_url is the public address of this cluster's Pachyderm
	// dashboard, if one exists; this option determines where users will be
	// redirected after successfully authenticating
	DashURL string `protobuf:"bytes,3,opt,name=dash_url,json=dashUrl,proto3" json:"dash_url,omitempty"`
	// session_duration determines the duration of SAML-IdP-authenticated user
	// sessions (specified as a Golang time duration, e.g. "24h" or "600m"). If
	// unset, user sessions last 24 hours (a short default, as SAML assertions
	// may contain group memberships that need to be refreshed)
	SessionDuration string `protobuf:"bytes,4,opt,name=session_duration,json=sessionDuration,proto3" json:"session_duration,omitempty"`
	// debug_logging determines whether pachd emits verbose logs (including
	// SAML credentials) as it receives them, which may be helpful for
	// debugging. This will probably not be present in any official releases.
	DebugLogging         bool     `protobuf:"varint,5,opt,name=debug_logging,json=debugLogging,proto3" json:"debug_logging,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

saml_svc_options configures the SAML services (Assertion Consumer Service and Metadata Service) that Pachd can export.

func (*AuthConfig_SAMLServiceOptions) Descriptor

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

func (*AuthConfig_SAMLServiceOptions) GetACSURL

func (m *AuthConfig_SAMLServiceOptions) GetACSURL() string

func (*AuthConfig_SAMLServiceOptions) GetDashURL

func (m *AuthConfig_SAMLServiceOptions) GetDashURL() string

func (*AuthConfig_SAMLServiceOptions) GetDebugLogging

func (m *AuthConfig_SAMLServiceOptions) GetDebugLogging() bool

func (*AuthConfig_SAMLServiceOptions) GetMetadataURL

func (m *AuthConfig_SAMLServiceOptions) GetMetadataURL() string

func (*AuthConfig_SAMLServiceOptions) GetSessionDuration

func (m *AuthConfig_SAMLServiceOptions) GetSessionDuration() string

func (*AuthConfig_SAMLServiceOptions) Marshal

func (m *AuthConfig_SAMLServiceOptions) Marshal() (dAtA []byte, err error)

func (*AuthConfig_SAMLServiceOptions) MarshalTo

func (m *AuthConfig_SAMLServiceOptions) MarshalTo(dAtA []byte) (int, error)

func (*AuthConfig_SAMLServiceOptions) ProtoMessage

func (*AuthConfig_SAMLServiceOptions) ProtoMessage()

func (*AuthConfig_SAMLServiceOptions) Reset

func (m *AuthConfig_SAMLServiceOptions) Reset()

func (*AuthConfig_SAMLServiceOptions) Size

func (m *AuthConfig_SAMLServiceOptions) Size() (n int)

func (*AuthConfig_SAMLServiceOptions) String

func (*AuthConfig_SAMLServiceOptions) Unmarshal

func (m *AuthConfig_SAMLServiceOptions) Unmarshal(dAtA []byte) error

func (*AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown

func (m *AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown()

func (*AuthConfig_SAMLServiceOptions) XXX_Marshal

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

func (*AuthConfig_SAMLServiceOptions) XXX_Merge

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

func (*AuthConfig_SAMLServiceOptions) XXX_Size

func (m *AuthConfig_SAMLServiceOptions) XXX_Size() int

func (*AuthConfig_SAMLServiceOptions) XXX_Unmarshal

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

type AuthenticateRequest

type AuthenticateRequest struct {
	// This is the token returned by GitHub and used to authenticate the caller.
	// When Pachyderm is deployed locally, setting this value to a given string
	// will automatically authenticate the caller as a GitHub user whose username
	// is that string (unless this "looks like" a GitHub access code, in which
	// case Pachyderm does retrieve the corresponding GitHub username)
	GitHubToken string `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"`
	// This is a short-lived, one-time-use password generated by Pachyderm, for
	// the purpose of propagating authentication to new clients (e.g. from the
	// dash to pachd)
	OneTimePassword      string   `protobuf:"bytes,2,opt,name=one_time_password,json=oneTimePassword,proto3" json:"one_time_password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthenticateRequest) Descriptor

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

func (*AuthenticateRequest) GetGitHubToken

func (m *AuthenticateRequest) GetGitHubToken() string

func (*AuthenticateRequest) GetOneTimePassword

func (m *AuthenticateRequest) GetOneTimePassword() string

func (*AuthenticateRequest) Marshal

func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error)

func (*AuthenticateRequest) MarshalTo

func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateRequest) ProtoMessage

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) Reset

func (m *AuthenticateRequest) Reset()

func (*AuthenticateRequest) Size

func (m *AuthenticateRequest) Size() (n int)

func (*AuthenticateRequest) String

func (m *AuthenticateRequest) String() string

func (*AuthenticateRequest) Unmarshal

func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error

func (*AuthenticateRequest) XXX_DiscardUnknown

func (m *AuthenticateRequest) XXX_DiscardUnknown()

func (*AuthenticateRequest) XXX_Marshal

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

func (*AuthenticateRequest) XXX_Merge

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

func (*AuthenticateRequest) XXX_Size

func (m *AuthenticateRequest) XXX_Size() int

func (*AuthenticateRequest) XXX_Unmarshal

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

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

func (*AuthenticateResponse) Descriptor

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

func (*AuthenticateResponse) GetPachToken

func (m *AuthenticateResponse) GetPachToken() string

func (*AuthenticateResponse) Marshal

func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error)

func (*AuthenticateResponse) MarshalTo

func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthenticateResponse) ProtoMessage

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) Reset

func (m *AuthenticateResponse) Reset()

func (*AuthenticateResponse) Size

func (m *AuthenticateResponse) Size() (n int)

func (*AuthenticateResponse) String

func (m *AuthenticateResponse) String() string

func (*AuthenticateResponse) Unmarshal

func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error

func (*AuthenticateResponse) XXX_DiscardUnknown

func (m *AuthenticateResponse) XXX_DiscardUnknown()

func (*AuthenticateResponse) XXX_Marshal

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

func (*AuthenticateResponse) XXX_Merge

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

func (*AuthenticateResponse) XXX_Size

func (m *AuthenticateResponse) XXX_Size() int

func (*AuthenticateResponse) XXX_Unmarshal

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

type AuthorizeRequest

type AuthorizeRequest struct {
	// repo is the object that the caller wants to access
	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	// scope is the access level that the caller needs to perform an action
	Scope                Scope    `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_8.Scope" json:"scope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthorizeRequest) Descriptor

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

func (*AuthorizeRequest) GetRepo

func (m *AuthorizeRequest) GetRepo() string

func (*AuthorizeRequest) GetScope

func (m *AuthorizeRequest) GetScope() Scope

func (*AuthorizeRequest) Marshal

func (m *AuthorizeRequest) Marshal() (dAtA []byte, err error)

func (*AuthorizeRequest) MarshalTo

func (m *AuthorizeRequest) MarshalTo(dAtA []byte) (int, error)

func (*AuthorizeRequest) ProtoMessage

func (*AuthorizeRequest) ProtoMessage()

func (*AuthorizeRequest) Reset

func (m *AuthorizeRequest) Reset()

func (*AuthorizeRequest) Size

func (m *AuthorizeRequest) Size() (n int)

func (*AuthorizeRequest) String

func (m *AuthorizeRequest) String() string

func (*AuthorizeRequest) Unmarshal

func (m *AuthorizeRequest) Unmarshal(dAtA []byte) error

func (*AuthorizeRequest) XXX_DiscardUnknown

func (m *AuthorizeRequest) XXX_DiscardUnknown()

func (*AuthorizeRequest) XXX_Marshal

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

func (*AuthorizeRequest) XXX_Merge

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

func (*AuthorizeRequest) XXX_Size

func (m *AuthorizeRequest) XXX_Size() int

func (*AuthorizeRequest) XXX_Unmarshal

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

type AuthorizeResponse

type AuthorizeResponse struct {
	// authorized is true if the caller has at least
	// 'AuthorizeRequest.scope'-level access to 'AuthorizeRequest.repo', and false
	// otherwise
	Authorized           bool     `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthorizeResponse) Descriptor

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

func (*AuthorizeResponse) GetAuthorized

func (m *AuthorizeResponse) GetAuthorized() bool

func (*AuthorizeResponse) Marshal

func (m *AuthorizeResponse) Marshal() (dAtA []byte, err error)

func (*AuthorizeResponse) MarshalTo

func (m *AuthorizeResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthorizeResponse) ProtoMessage

func (*AuthorizeResponse) ProtoMessage()

func (*AuthorizeResponse) Reset

func (m *AuthorizeResponse) Reset()

func (*AuthorizeResponse) Size

func (m *AuthorizeResponse) Size() (n int)

func (*AuthorizeResponse) String

func (m *AuthorizeResponse) String() string

func (*AuthorizeResponse) Unmarshal

func (m *AuthorizeResponse) Unmarshal(dAtA []byte) error

func (*AuthorizeResponse) XXX_DiscardUnknown

func (m *AuthorizeResponse) XXX_DiscardUnknown()

func (*AuthorizeResponse) XXX_Marshal

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

func (*AuthorizeResponse) XXX_Merge

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

func (*AuthorizeResponse) XXX_Size

func (m *AuthorizeResponse) XXX_Size() int

func (*AuthorizeResponse) XXX_Unmarshal

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

type DeactivateRequest

type DeactivateRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeactivateRequest) Descriptor

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

func (*DeactivateRequest) Marshal

func (m *DeactivateRequest) Marshal() (dAtA []byte, err error)

func (*DeactivateRequest) MarshalTo

func (m *DeactivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeactivateRequest) ProtoMessage

func (*DeactivateRequest) ProtoMessage()

func (*DeactivateRequest) Reset

func (m *DeactivateRequest) Reset()

func (*DeactivateRequest) Size

func (m *DeactivateRequest) Size() (n int)

func (*DeactivateRequest) String

func (m *DeactivateRequest) String() string

func (*DeactivateRequest) Unmarshal

func (m *DeactivateRequest) Unmarshal(dAtA []byte) error

func (*DeactivateRequest) XXX_DiscardUnknown

func (m *DeactivateRequest) XXX_DiscardUnknown()

func (*DeactivateRequest) XXX_Marshal

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

func (*DeactivateRequest) XXX_Merge

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

func (*DeactivateRequest) XXX_Size

func (m *DeactivateRequest) XXX_Size() int

func (*DeactivateRequest) XXX_Unmarshal

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

type DeactivateResponse

type DeactivateResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeactivateResponse) Descriptor

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

func (*DeactivateResponse) Marshal

func (m *DeactivateResponse) Marshal() (dAtA []byte, err error)

func (*DeactivateResponse) MarshalTo

func (m *DeactivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeactivateResponse) ProtoMessage

func (*DeactivateResponse) ProtoMessage()

func (*DeactivateResponse) Reset

func (m *DeactivateResponse) Reset()

func (*DeactivateResponse) Size

func (m *DeactivateResponse) Size() (n int)

func (*DeactivateResponse) String

func (m *DeactivateResponse) String() string

func (*DeactivateResponse) Unmarshal

func (m *DeactivateResponse) Unmarshal(dAtA []byte) error

func (*DeactivateResponse) XXX_DiscardUnknown

func (m *DeactivateResponse) XXX_DiscardUnknown()

func (*DeactivateResponse) XXX_Marshal

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

func (*DeactivateResponse) XXX_Merge

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

func (*DeactivateResponse) XXX_Size

func (m *DeactivateResponse) XXX_Size() int

func (*DeactivateResponse) XXX_Unmarshal

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

type ExtendAuthTokenRequest

type ExtendAuthTokenRequest struct {
	// token indicates the Pachyderm token whose TTL is being extended
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// ttl indicates the new TTL of 'token' (if it's longer than the existing TTL)
	TTL                  int64    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExtendAuthTokenRequest) Descriptor

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

func (*ExtendAuthTokenRequest) GetTTL

func (m *ExtendAuthTokenRequest) GetTTL() int64

func (*ExtendAuthTokenRequest) GetToken

func (m *ExtendAuthTokenRequest) GetToken() string

func (*ExtendAuthTokenRequest) Marshal

func (m *ExtendAuthTokenRequest) Marshal() (dAtA []byte, err error)

func (*ExtendAuthTokenRequest) MarshalTo

func (m *ExtendAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExtendAuthTokenRequest) ProtoMessage

func (*ExtendAuthTokenRequest) ProtoMessage()

func (*ExtendAuthTokenRequest) Reset

func (m *ExtendAuthTokenRequest) Reset()

func (*ExtendAuthTokenRequest) Size

func (m *ExtendAuthTokenRequest) Size() (n int)

func (*ExtendAuthTokenRequest) String

func (m *ExtendAuthTokenRequest) String() string

func (*ExtendAuthTokenRequest) Unmarshal

func (m *ExtendAuthTokenRequest) Unmarshal(dAtA []byte) error

func (*ExtendAuthTokenRequest) XXX_DiscardUnknown

func (m *ExtendAuthTokenRequest) XXX_DiscardUnknown()

func (*ExtendAuthTokenRequest) XXX_Marshal

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

func (*ExtendAuthTokenRequest) XXX_Merge

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

func (*ExtendAuthTokenRequest) XXX_Size

func (m *ExtendAuthTokenRequest) XXX_Size() int

func (*ExtendAuthTokenRequest) XXX_Unmarshal

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

type ExtendAuthTokenResponse

type ExtendAuthTokenResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExtendAuthTokenResponse) Descriptor

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

func (*ExtendAuthTokenResponse) Marshal

func (m *ExtendAuthTokenResponse) Marshal() (dAtA []byte, err error)

func (*ExtendAuthTokenResponse) MarshalTo

func (m *ExtendAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExtendAuthTokenResponse) ProtoMessage

func (*ExtendAuthTokenResponse) ProtoMessage()

func (*ExtendAuthTokenResponse) Reset

func (m *ExtendAuthTokenResponse) Reset()

func (*ExtendAuthTokenResponse) Size

func (m *ExtendAuthTokenResponse) Size() (n int)

func (*ExtendAuthTokenResponse) String

func (m *ExtendAuthTokenResponse) String() string

func (*ExtendAuthTokenResponse) Unmarshal

func (m *ExtendAuthTokenResponse) Unmarshal(dAtA []byte) error

func (*ExtendAuthTokenResponse) XXX_DiscardUnknown

func (m *ExtendAuthTokenResponse) XXX_DiscardUnknown()

func (*ExtendAuthTokenResponse) XXX_Marshal

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

func (*ExtendAuthTokenResponse) XXX_Merge

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

func (*ExtendAuthTokenResponse) XXX_Size

func (m *ExtendAuthTokenResponse) XXX_Size() int

func (*ExtendAuthTokenResponse) XXX_Unmarshal

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

type GetACLRequest

type GetACLRequest struct {
	Repo                 string   `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetACLRequest) Descriptor

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

func (*GetACLRequest) GetRepo

func (m *GetACLRequest) GetRepo() string

func (*GetACLRequest) Marshal

func (m *GetACLRequest) Marshal() (dAtA []byte, err error)

func (*GetACLRequest) MarshalTo

func (m *GetACLRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetACLRequest) ProtoMessage

func (*GetACLRequest) ProtoMessage()

func (*GetACLRequest) Reset

func (m *GetACLRequest) Reset()

func (*GetACLRequest) Size

func (m *GetACLRequest) Size() (n int)

func (*GetACLRequest) String

func (m *GetACLRequest) String() string

func (*GetACLRequest) Unmarshal

func (m *GetACLRequest) Unmarshal(dAtA []byte) error

func (*GetACLRequest) XXX_DiscardUnknown

func (m *GetACLRequest) XXX_DiscardUnknown()

func (*GetACLRequest) XXX_Marshal

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

func (*GetACLRequest) XXX_Merge

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

func (*GetACLRequest) XXX_Size

func (m *GetACLRequest) XXX_Size() int

func (*GetACLRequest) XXX_Unmarshal

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

type GetACLResponse

type GetACLResponse struct {
	// entries contains all [user principal] -> [role] mappings. This is separate
	// from robot_entries to avoid migration pain the Pachyderm dashboard
	Entries []*ACLEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// robot_entries contains all [robot principal] -> [role] mappings. This is
	// separate from entries to be unambiguous (all keys are robot principals, but
	// have no prefixes) while avoiding migration pain in the Pachyderm dashboard.
	RobotEntries         []*ACLEntry `protobuf:"bytes,2,rep,name=robot_entries,json=robotEntries,proto3" json:"robot_entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

GetACLReponse contains the list of entries on a Pachyderm ACL.

To avoid migration pain with the Pachyderm dash the list of user principal entries and robot principal entries are separate. This way, no prefix or other disambiguating device is needed in 'entries' to separate user principals from robot principals (which would confuse the dash). Instead, the dash can simply ignore robot principals.

func (*GetACLResponse) Descriptor

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

func (*GetACLResponse) GetEntries

func (m *GetACLResponse) GetEntries() []*ACLEntry

func (*GetACLResponse) GetRobotEntries

func (m *GetACLResponse) GetRobotEntries() []*ACLEntry

func (*GetACLResponse) Marshal

func (m *GetACLResponse) Marshal() (dAtA []byte, err error)

func (*GetACLResponse) MarshalTo

func (m *GetACLResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetACLResponse) ProtoMessage

func (*GetACLResponse) ProtoMessage()

func (*GetACLResponse) Reset

func (m *GetACLResponse) Reset()

func (*GetACLResponse) Size

func (m *GetACLResponse) Size() (n int)

func (*GetACLResponse) String

func (m *GetACLResponse) String() string

func (*GetACLResponse) Unmarshal

func (m *GetACLResponse) Unmarshal(dAtA []byte) error

func (*GetACLResponse) XXX_DiscardUnknown

func (m *GetACLResponse) XXX_DiscardUnknown()

func (*GetACLResponse) XXX_Marshal

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

func (*GetACLResponse) XXX_Merge

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

func (*GetACLResponse) XXX_Size

func (m *GetACLResponse) XXX_Size() int

func (*GetACLResponse) XXX_Unmarshal

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

type GetAdminsRequest

type GetAdminsRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Get the current list of cluster admins

func (*GetAdminsRequest) Descriptor

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

func (*GetAdminsRequest) Marshal

func (m *GetAdminsRequest) Marshal() (dAtA []byte, err error)

func (*GetAdminsRequest) MarshalTo

func (m *GetAdminsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAdminsRequest) ProtoMessage

func (*GetAdminsRequest) ProtoMessage()

func (*GetAdminsRequest) Reset

func (m *GetAdminsRequest) Reset()

func (*GetAdminsRequest) Size

func (m *GetAdminsRequest) Size() (n int)

func (*GetAdminsRequest) String

func (m *GetAdminsRequest) String() string

func (*GetAdminsRequest) Unmarshal

func (m *GetAdminsRequest) Unmarshal(dAtA []byte) error

func (*GetAdminsRequest) XXX_DiscardUnknown

func (m *GetAdminsRequest) XXX_DiscardUnknown()

func (*GetAdminsRequest) XXX_Marshal

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

func (*GetAdminsRequest) XXX_Merge

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

func (*GetAdminsRequest) XXX_Size

func (m *GetAdminsRequest) XXX_Size() int

func (*GetAdminsRequest) XXX_Unmarshal

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

type GetAdminsResponse

type GetAdminsResponse struct {
	// admins contains the list of cluster admins
	Admins               []string `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAdminsResponse) Descriptor

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

func (*GetAdminsResponse) GetAdmins

func (m *GetAdminsResponse) GetAdmins() []string

func (*GetAdminsResponse) Marshal

func (m *GetAdminsResponse) Marshal() (dAtA []byte, err error)

func (*GetAdminsResponse) MarshalTo

func (m *GetAdminsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAdminsResponse) ProtoMessage

func (*GetAdminsResponse) ProtoMessage()

func (*GetAdminsResponse) Reset

func (m *GetAdminsResponse) Reset()

func (*GetAdminsResponse) Size

func (m *GetAdminsResponse) Size() (n int)

func (*GetAdminsResponse) String

func (m *GetAdminsResponse) String() string

func (*GetAdminsResponse) Unmarshal

func (m *GetAdminsResponse) Unmarshal(dAtA []byte) error

func (*GetAdminsResponse) XXX_DiscardUnknown

func (m *GetAdminsResponse) XXX_DiscardUnknown()

func (*GetAdminsResponse) XXX_Marshal

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

func (*GetAdminsResponse) XXX_Merge

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

func (*GetAdminsResponse) XXX_Size

func (m *GetAdminsResponse) XXX_Size() int

func (*GetAdminsResponse) XXX_Unmarshal

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

type GetAuthTokenRequest

type GetAuthTokenRequest struct {
	// The returned token will allow the caller to access resources as this
	// subject
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// ttl indicates the approximate remaining lifetime of this token, in seconds
	TTL                  int64    `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAuthTokenRequest) Descriptor

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

func (*GetAuthTokenRequest) GetSubject

func (m *GetAuthTokenRequest) GetSubject() string

func (*GetAuthTokenRequest) GetTTL

func (m *GetAuthTokenRequest) GetTTL() int64

func (*GetAuthTokenRequest) Marshal

func (m *GetAuthTokenRequest) Marshal() (dAtA []byte, err error)

func (*GetAuthTokenRequest) MarshalTo

func (m *GetAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetAuthTokenRequest) ProtoMessage

func (*GetAuthTokenRequest) ProtoMessage()

func (*GetAuthTokenRequest) Reset

func (m *GetAuthTokenRequest) Reset()

func (*GetAuthTokenRequest) Size

func (m *GetAuthTokenRequest) Size() (n int)

func (*GetAuthTokenRequest) String

func (m *GetAuthTokenRequest) String() string

func (*GetAuthTokenRequest) Unmarshal

func (m *GetAuthTokenRequest) Unmarshal(dAtA []byte) error

func (*GetAuthTokenRequest) XXX_DiscardUnknown

func (m *GetAuthTokenRequest) XXX_DiscardUnknown()

func (*GetAuthTokenRequest) XXX_Marshal

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

func (*GetAuthTokenRequest) XXX_Merge

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

func (*GetAuthTokenRequest) XXX_Size

func (m *GetAuthTokenRequest) XXX_Size() int

func (*GetAuthTokenRequest) XXX_Unmarshal

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

type GetAuthTokenResponse

type GetAuthTokenResponse struct {
	// A canonicalized version of the subject in the request
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// A new auth token for the user in 'GetAuthTokenRequest.Subject' token
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAuthTokenResponse) Descriptor

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

func (*GetAuthTokenResponse) GetSubject

func (m *GetAuthTokenResponse) GetSubject() string

func (*GetAuthTokenResponse) GetToken

func (m *GetAuthTokenResponse) GetToken() string

func (*GetAuthTokenResponse) Marshal

func (m *GetAuthTokenResponse) Marshal() (dAtA []byte, err error)

func (*GetAuthTokenResponse) MarshalTo

func (m *GetAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetAuthTokenResponse) ProtoMessage

func (*GetAuthTokenResponse) ProtoMessage()

func (*GetAuthTokenResponse) Reset

func (m *GetAuthTokenResponse) Reset()

func (*GetAuthTokenResponse) Size

func (m *GetAuthTokenResponse) Size() (n int)

func (*GetAuthTokenResponse) String

func (m *GetAuthTokenResponse) String() string

func (*GetAuthTokenResponse) Unmarshal

func (m *GetAuthTokenResponse) Unmarshal(dAtA []byte) error

func (*GetAuthTokenResponse) XXX_DiscardUnknown

func (m *GetAuthTokenResponse) XXX_DiscardUnknown()

func (*GetAuthTokenResponse) XXX_Marshal

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

func (*GetAuthTokenResponse) XXX_Merge

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

func (*GetAuthTokenResponse) XXX_Size

func (m *GetAuthTokenResponse) XXX_Size() int

func (*GetAuthTokenResponse) XXX_Unmarshal

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

type GetConfigurationRequest

type GetConfigurationRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetConfigurationRequest) Descriptor

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

func (*GetConfigurationRequest) Marshal

func (m *GetConfigurationRequest) Marshal() (dAtA []byte, err error)

func (*GetConfigurationRequest) MarshalTo

func (m *GetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigurationRequest) ProtoMessage

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) Reset

func (m *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) Size

func (m *GetConfigurationRequest) Size() (n int)

func (*GetConfigurationRequest) String

func (m *GetConfigurationRequest) String() string

func (*GetConfigurationRequest) Unmarshal

func (m *GetConfigurationRequest) Unmarshal(dAtA []byte) error

func (*GetConfigurationRequest) XXX_DiscardUnknown

func (m *GetConfigurationRequest) XXX_DiscardUnknown()

func (*GetConfigurationRequest) XXX_Marshal

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

func (*GetConfigurationRequest) XXX_Merge

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

func (*GetConfigurationRequest) XXX_Size

func (m *GetConfigurationRequest) XXX_Size() int

func (*GetConfigurationRequest) XXX_Unmarshal

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

type GetConfigurationResponse

type GetConfigurationResponse struct {
	Configuration        *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GetConfigurationResponse) Descriptor

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

func (*GetConfigurationResponse) GetConfiguration

func (m *GetConfigurationResponse) GetConfiguration() *AuthConfig

func (*GetConfigurationResponse) Marshal

func (m *GetConfigurationResponse) Marshal() (dAtA []byte, err error)

func (*GetConfigurationResponse) MarshalTo

func (m *GetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetConfigurationResponse) ProtoMessage

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) Reset

func (m *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) Size

func (m *GetConfigurationResponse) Size() (n int)

func (*GetConfigurationResponse) String

func (m *GetConfigurationResponse) String() string

func (*GetConfigurationResponse) Unmarshal

func (m *GetConfigurationResponse) Unmarshal(dAtA []byte) error

func (*GetConfigurationResponse) XXX_DiscardUnknown

func (m *GetConfigurationResponse) XXX_DiscardUnknown()

func (*GetConfigurationResponse) XXX_Marshal

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

func (*GetConfigurationResponse) XXX_Merge

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

func (*GetConfigurationResponse) XXX_Size

func (m *GetConfigurationResponse) XXX_Size() int

func (*GetConfigurationResponse) XXX_Unmarshal

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

type GetGroupsRequest

type GetGroupsRequest struct {
	Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGroupsRequest) Descriptor

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

func (*GetGroupsRequest) GetUsername

func (m *GetGroupsRequest) GetUsername() string

func (*GetGroupsRequest) Marshal

func (m *GetGroupsRequest) Marshal() (dAtA []byte, err error)

func (*GetGroupsRequest) MarshalTo

func (m *GetGroupsRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetGroupsRequest) ProtoMessage

func (*GetGroupsRequest) ProtoMessage()

func (*GetGroupsRequest) Reset

func (m *GetGroupsRequest) Reset()

func (*GetGroupsRequest) Size

func (m *GetGroupsRequest) Size() (n int)

func (*GetGroupsRequest) String

func (m *GetGroupsRequest) String() string

func (*GetGroupsRequest) Unmarshal

func (m *GetGroupsRequest) Unmarshal(dAtA []byte) error

func (*GetGroupsRequest) XXX_DiscardUnknown

func (m *GetGroupsRequest) XXX_DiscardUnknown()

func (*GetGroupsRequest) XXX_Marshal

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

func (*GetGroupsRequest) XXX_Merge

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

func (*GetGroupsRequest) XXX_Size

func (m *GetGroupsRequest) XXX_Size() int

func (*GetGroupsRequest) XXX_Unmarshal

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

type GetGroupsResponse

type GetGroupsResponse struct {
	Groups               []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetGroupsResponse) Descriptor

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

func (*GetGroupsResponse) GetGroups

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

func (*GetGroupsResponse) Marshal

func (m *GetGroupsResponse) Marshal() (dAtA []byte, err error)

func (*GetGroupsResponse) MarshalTo

func (m *GetGroupsResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetGroupsResponse) ProtoMessage

func (*GetGroupsResponse) ProtoMessage()

func (*GetGroupsResponse) Reset

func (m *GetGroupsResponse) Reset()

func (*GetGroupsResponse) Size

func (m *GetGroupsResponse) Size() (n int)

func (*GetGroupsResponse) String

func (m *GetGroupsResponse) String() string

func (*GetGroupsResponse) Unmarshal

func (m *GetGroupsResponse) Unmarshal(dAtA []byte) error

func (*GetGroupsResponse) XXX_DiscardUnknown

func (m *GetGroupsResponse) XXX_DiscardUnknown()

func (*GetGroupsResponse) XXX_Marshal

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

func (*GetGroupsResponse) XXX_Merge

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

func (*GetGroupsResponse) XXX_Size

func (m *GetGroupsResponse) XXX_Size() int

func (*GetGroupsResponse) XXX_Unmarshal

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

type GetOneTimePasswordRequest

type GetOneTimePasswordRequest struct {
	// If the caller is an admin, GetOneTimePassword() can return a code for
	// any user (useful for testing).
	// If the caller is not an admin, GetOneTimePassword() will return an
	// authentication code for the caller if username is unset or set to the
	// caller's username (and will return an error otherwise)
	Subject              string   `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetOneTimePassword allows users to generate short-lived (~30s) tokens that can be passed to Authenticate() (via AuthenticateRequest.one_time_password) and exchanged for a longer-lived pachyderm token. This is more secure than GetAuthToken, which produces long-lived authorization tokens.

func (*GetOneTimePasswordRequest) Descriptor

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

func (*GetOneTimePasswordRequest) GetSubject

func (m *GetOneTimePasswordRequest) GetSubject() string

func (*GetOneTimePasswordRequest) Marshal

func (m *GetOneTimePasswordRequest) Marshal() (dAtA []byte, err error)

func (*GetOneTimePasswordRequest) MarshalTo

func (m *GetOneTimePasswordRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetOneTimePasswordRequest) ProtoMessage

func (*GetOneTimePasswordRequest) ProtoMessage()

func (*GetOneTimePasswordRequest) Reset

func (m *GetOneTimePasswordRequest) Reset()

func (*GetOneTimePasswordRequest) Size

func (m *GetOneTimePasswordRequest) Size() (n int)

func (*GetOneTimePasswordRequest) String

func (m *GetOneTimePasswordRequest) String() string

func (*GetOneTimePasswordRequest) Unmarshal

func (m *GetOneTimePasswordRequest) Unmarshal(dAtA []byte) error

func (*GetOneTimePasswordRequest) XXX_DiscardUnknown

func (m *GetOneTimePasswordRequest) XXX_DiscardUnknown()

func (*GetOneTimePasswordRequest) XXX_Marshal

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

func (*GetOneTimePasswordRequest) XXX_Merge

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

func (*GetOneTimePasswordRequest) XXX_Size

func (m *GetOneTimePasswordRequest) XXX_Size() int

func (*GetOneTimePasswordRequest) XXX_Unmarshal

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

type GetOneTimePasswordResponse

type GetOneTimePasswordResponse struct {
	Code                 string   `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOneTimePasswordResponse) Descriptor

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

func (*GetOneTimePasswordResponse) GetCode

func (m *GetOneTimePasswordResponse) GetCode() string

func (*GetOneTimePasswordResponse) Marshal

func (m *GetOneTimePasswordResponse) Marshal() (dAtA []byte, err error)

func (*GetOneTimePasswordResponse) MarshalTo

func (m *GetOneTimePasswordResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetOneTimePasswordResponse) ProtoMessage

func (*GetOneTimePasswordResponse) ProtoMessage()

func (*GetOneTimePasswordResponse) Reset

func (m *GetOneTimePasswordResponse) Reset()

func (*GetOneTimePasswordResponse) Size

func (m *GetOneTimePasswordResponse) Size() (n int)

func (*GetOneTimePasswordResponse) String

func (m *GetOneTimePasswordResponse) String() string

func (*GetOneTimePasswordResponse) Unmarshal

func (m *GetOneTimePasswordResponse) Unmarshal(dAtA []byte) error

func (*GetOneTimePasswordResponse) XXX_DiscardUnknown

func (m *GetOneTimePasswordResponse) XXX_DiscardUnknown()

func (*GetOneTimePasswordResponse) XXX_Marshal

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

func (*GetOneTimePasswordResponse) XXX_Merge

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

func (*GetOneTimePasswordResponse) XXX_Size

func (m *GetOneTimePasswordResponse) XXX_Size() int

func (*GetOneTimePasswordResponse) XXX_Unmarshal

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

type GetScopeRequest

type GetScopeRequest struct {
	// username is the principal (some of which belong to robots rather than
	// users, but the name is preserved for now to provide compatibility with the
	// pachyderm dash) whose access level is queried. To query the access level
	// of a robot user, the caller must prefix username with "robot:". If
	// 'username' has no prefix (i.e. no ":"), then it's assumed to be a github
	// user's principal.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// repos are the objects to which 'username's access level is being queried
	Repos                []string `protobuf:"bytes,2,rep,name=repos,proto3" json:"repos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetScopeRequest) Descriptor

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

func (*GetScopeRequest) GetRepos

func (m *GetScopeRequest) GetRepos() []string

func (*GetScopeRequest) GetUsername

func (m *GetScopeRequest) GetUsername() string

func (*GetScopeRequest) Marshal

func (m *GetScopeRequest) Marshal() (dAtA []byte, err error)

func (*GetScopeRequest) MarshalTo

func (m *GetScopeRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetScopeRequest) ProtoMessage

func (*GetScopeRequest) ProtoMessage()

func (*GetScopeRequest) Reset

func (m *GetScopeRequest) Reset()

func (*GetScopeRequest) Size

func (m *GetScopeRequest) Size() (n int)

func (*GetScopeRequest) String

func (m *GetScopeRequest) String() string

func (*GetScopeRequest) Unmarshal

func (m *GetScopeRequest) Unmarshal(dAtA []byte) error

func (*GetScopeRequest) XXX_DiscardUnknown

func (m *GetScopeRequest) XXX_DiscardUnknown()

func (*GetScopeRequest) XXX_Marshal

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

func (*GetScopeRequest) XXX_Merge

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

func (*GetScopeRequest) XXX_Size

func (m *GetScopeRequest) XXX_Size() int

func (*GetScopeRequest) XXX_Unmarshal

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

type GetScopeResponse

type GetScopeResponse struct {
	// scopes (actually a "role"--see "Scope") are the access level that
	// 'GetScopeRequest.username' has to each repo in 'GetScopeRequest.repos', in
	// the same order that repos appeared in 'repos'.
	Scopes               []Scope  `protobuf:"varint,1,rep,packed,name=scopes,proto3,enum=auth_1_8.Scope" json:"scopes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetScopeResponse) Descriptor

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

func (*GetScopeResponse) GetScopes

func (m *GetScopeResponse) GetScopes() []Scope

func (*GetScopeResponse) Marshal

func (m *GetScopeResponse) Marshal() (dAtA []byte, err error)

func (*GetScopeResponse) MarshalTo

func (m *GetScopeResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetScopeResponse) ProtoMessage

func (*GetScopeResponse) ProtoMessage()

func (*GetScopeResponse) Reset

func (m *GetScopeResponse) Reset()

func (*GetScopeResponse) Size

func (m *GetScopeResponse) Size() (n int)

func (*GetScopeResponse) String

func (m *GetScopeResponse) String() string

func (*GetScopeResponse) Unmarshal

func (m *GetScopeResponse) Unmarshal(dAtA []byte) error

func (*GetScopeResponse) XXX_DiscardUnknown

func (m *GetScopeResponse) XXX_DiscardUnknown()

func (*GetScopeResponse) XXX_Marshal

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

func (*GetScopeResponse) XXX_Merge

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

func (*GetScopeResponse) XXX_Size

func (m *GetScopeResponse) XXX_Size() int

func (*GetScopeResponse) XXX_Unmarshal

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

type GetUsersRequest

type GetUsersRequest struct {
	Group                string   `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetUsersRequest) Descriptor

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

func (*GetUsersRequest) GetGroup

func (m *GetUsersRequest) GetGroup() string

func (*GetUsersRequest) Marshal

func (m *GetUsersRequest) Marshal() (dAtA []byte, err error)

func (*GetUsersRequest) MarshalTo

func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetUsersRequest) ProtoMessage

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) Reset

func (m *GetUsersRequest) Reset()

func (*GetUsersRequest) Size

func (m *GetUsersRequest) Size() (n int)

func (*GetUsersRequest) String

func (m *GetUsersRequest) String() string

func (*GetUsersRequest) Unmarshal

func (m *GetUsersRequest) Unmarshal(dAtA []byte) error

func (*GetUsersRequest) XXX_DiscardUnknown

func (m *GetUsersRequest) XXX_DiscardUnknown()

func (*GetUsersRequest) XXX_Marshal

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

func (*GetUsersRequest) XXX_Merge

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

func (*GetUsersRequest) XXX_Size

func (m *GetUsersRequest) XXX_Size() int

func (*GetUsersRequest) XXX_Unmarshal

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

type GetUsersResponse

type GetUsersResponse struct {
	Usernames            []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetUsersResponse) Descriptor

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

func (*GetUsersResponse) GetUsernames

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

func (*GetUsersResponse) Marshal

func (m *GetUsersResponse) Marshal() (dAtA []byte, err error)

func (*GetUsersResponse) MarshalTo

func (m *GetUsersResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetUsersResponse) ProtoMessage

func (*GetUsersResponse) ProtoMessage()

func (*GetUsersResponse) Reset

func (m *GetUsersResponse) Reset()

func (*GetUsersResponse) Size

func (m *GetUsersResponse) Size() (n int)

func (*GetUsersResponse) String

func (m *GetUsersResponse) String() string

func (*GetUsersResponse) Unmarshal

func (m *GetUsersResponse) Unmarshal(dAtA []byte) error

func (*GetUsersResponse) XXX_DiscardUnknown

func (m *GetUsersResponse) XXX_DiscardUnknown()

func (*GetUsersResponse) XXX_Marshal

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

func (*GetUsersResponse) XXX_Merge

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

func (*GetUsersResponse) XXX_Size

func (m *GetUsersResponse) XXX_Size() int

func (*GetUsersResponse) XXX_Unmarshal

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

type Groups

type Groups struct {
	Groups               map[string]bool `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Groups) Descriptor

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

func (*Groups) GetGroups

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

func (*Groups) Marshal

func (m *Groups) Marshal() (dAtA []byte, err error)

func (*Groups) MarshalTo

func (m *Groups) MarshalTo(dAtA []byte) (int, error)

func (*Groups) ProtoMessage

func (*Groups) ProtoMessage()

func (*Groups) Reset

func (m *Groups) Reset()

func (*Groups) Size

func (m *Groups) Size() (n int)

func (*Groups) String

func (m *Groups) String() string

func (*Groups) Unmarshal

func (m *Groups) Unmarshal(dAtA []byte) error

func (*Groups) XXX_DiscardUnknown

func (m *Groups) XXX_DiscardUnknown()

func (*Groups) XXX_Marshal

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

func (*Groups) XXX_Merge

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

func (*Groups) XXX_Size

func (m *Groups) XXX_Size() int

func (*Groups) XXX_Unmarshal

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

type IDProvider

type IDProvider struct {
	// Name identifies this authentication backend in Pachyderm.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description is a human-readable description of this authentication
	// backend. It's ignored by Pachyderm, but exists for the benefit of users
	// configuring Pachyderm's auth system.
	Description          string                  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	SAML                 *IDProvider_SAMLOptions `protobuf:"bytes,3,opt,name=saml,proto3" json:"saml,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

IDProvider configures a single ID provider that can authenticate Pachyderm users

func (*IDProvider) Descriptor

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

func (*IDProvider) GetDescription

func (m *IDProvider) GetDescription() string

func (*IDProvider) GetName

func (m *IDProvider) GetName() string

func (*IDProvider) GetSAML

func (m *IDProvider) GetSAML() *IDProvider_SAMLOptions

func (*IDProvider) Marshal

func (m *IDProvider) Marshal() (dAtA []byte, err error)

func (*IDProvider) MarshalTo

func (m *IDProvider) MarshalTo(dAtA []byte) (int, error)

func (*IDProvider) ProtoMessage

func (*IDProvider) ProtoMessage()

func (*IDProvider) Reset

func (m *IDProvider) Reset()

func (*IDProvider) Size

func (m *IDProvider) Size() (n int)

func (*IDProvider) String

func (m *IDProvider) String() string

func (*IDProvider) Unmarshal

func (m *IDProvider) Unmarshal(dAtA []byte) error

func (*IDProvider) XXX_DiscardUnknown

func (m *IDProvider) XXX_DiscardUnknown()

func (*IDProvider) XXX_Marshal

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

func (*IDProvider) XXX_Merge

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

func (*IDProvider) XXX_Size

func (m *IDProvider) XXX_Size() int

func (*IDProvider) XXX_Unmarshal

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

type IDProvider_SAMLOptions

type IDProvider_SAMLOptions struct {
	// metadata_url is the URL of the SAML ID provider's metadata service
	// (which Pachd can query to get more info about the SAML ID provider)
	MetadataURL string `protobuf:"bytes,1,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"`
	// metadata_xml is a direct reproduction of the ID provider's metadata.
	// Users can set this field in the argument to SetConfig if the ID provider
	// can't be reached from pachd (e.g. because it's on a separate network to
	// which Pachyderm users also have access) or for testing.  Exactly one of
	// metadata_url and metadata_xml should be set in calls to SetConfig, but
	// internally, if metadata_url is set, the result of scraping the metadata
	// URL will be placed here in the result from GetConfig().
	MetadataXML []byte `protobuf:"bytes,2,opt,name=metadata_xml,json=metadataXml,proto3" json:"metadata_xml,omitempty"`
	// If this ID provider supports sending group memberships via attribute,
	// then users can set group_attribute to the SAML attribute that indicates
	// group mmbership, and Pachyderm will update users' group memberships when
	// they authenticate.
	GroupAttribute       string   `protobuf:"bytes,3,opt,name=group_attribute,json=groupAttribute,proto3" json:"group_attribute,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SAMLOptions describes a SAML-based identity provider

func (*IDProvider_SAMLOptions) Descriptor

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

func (*IDProvider_SAMLOptions) GetGroupAttribute

func (m *IDProvider_SAMLOptions) GetGroupAttribute() string

func (*IDProvider_SAMLOptions) GetMetadataURL

func (m *IDProvider_SAMLOptions) GetMetadataURL() string

func (*IDProvider_SAMLOptions) GetMetadataXML

func (m *IDProvider_SAMLOptions) GetMetadataXML() []byte

func (*IDProvider_SAMLOptions) Marshal

func (m *IDProvider_SAMLOptions) Marshal() (dAtA []byte, err error)

func (*IDProvider_SAMLOptions) MarshalTo

func (m *IDProvider_SAMLOptions) MarshalTo(dAtA []byte) (int, error)

func (*IDProvider_SAMLOptions) ProtoMessage

func (*IDProvider_SAMLOptions) ProtoMessage()

func (*IDProvider_SAMLOptions) Reset

func (m *IDProvider_SAMLOptions) Reset()

func (*IDProvider_SAMLOptions) Size

func (m *IDProvider_SAMLOptions) Size() (n int)

func (*IDProvider_SAMLOptions) String

func (m *IDProvider_SAMLOptions) String() string

func (*IDProvider_SAMLOptions) Unmarshal

func (m *IDProvider_SAMLOptions) Unmarshal(dAtA []byte) error

func (*IDProvider_SAMLOptions) XXX_DiscardUnknown

func (m *IDProvider_SAMLOptions) XXX_DiscardUnknown()

func (*IDProvider_SAMLOptions) XXX_Marshal

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

func (*IDProvider_SAMLOptions) XXX_Merge

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

func (*IDProvider_SAMLOptions) XXX_Size

func (m *IDProvider_SAMLOptions) XXX_Size() int

func (*IDProvider_SAMLOptions) XXX_Unmarshal

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

type ModifyAdminsRequest

type ModifyAdminsRequest struct {
	Add                  []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
	Remove               []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Add or remove cluster admins

func (*ModifyAdminsRequest) Descriptor

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

func (*ModifyAdminsRequest) GetAdd

func (m *ModifyAdminsRequest) GetAdd() []string

func (*ModifyAdminsRequest) GetRemove

func (m *ModifyAdminsRequest) GetRemove() []string

func (*ModifyAdminsRequest) Marshal

func (m *ModifyAdminsRequest) Marshal() (dAtA []byte, err error)

func (*ModifyAdminsRequest) MarshalTo

func (m *ModifyAdminsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ModifyAdminsRequest) ProtoMessage

func (*ModifyAdminsRequest) ProtoMessage()

func (*ModifyAdminsRequest) Reset

func (m *ModifyAdminsRequest) Reset()

func (*ModifyAdminsRequest) Size

func (m *ModifyAdminsRequest) Size() (n int)

func (*ModifyAdminsRequest) String

func (m *ModifyAdminsRequest) String() string

func (*ModifyAdminsRequest) Unmarshal

func (m *ModifyAdminsRequest) Unmarshal(dAtA []byte) error

func (*ModifyAdminsRequest) XXX_DiscardUnknown

func (m *ModifyAdminsRequest) XXX_DiscardUnknown()

func (*ModifyAdminsRequest) XXX_Marshal

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

func (*ModifyAdminsRequest) XXX_Merge

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

func (*ModifyAdminsRequest) XXX_Size

func (m *ModifyAdminsRequest) XXX_Size() int

func (*ModifyAdminsRequest) XXX_Unmarshal

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

type ModifyAdminsResponse

type ModifyAdminsResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ModifyAdminsResponse) Descriptor

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

func (*ModifyAdminsResponse) Marshal

func (m *ModifyAdminsResponse) Marshal() (dAtA []byte, err error)

func (*ModifyAdminsResponse) MarshalTo

func (m *ModifyAdminsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ModifyAdminsResponse) ProtoMessage

func (*ModifyAdminsResponse) ProtoMessage()

func (*ModifyAdminsResponse) Reset

func (m *ModifyAdminsResponse) Reset()

func (*ModifyAdminsResponse) Size

func (m *ModifyAdminsResponse) Size() (n int)

func (*ModifyAdminsResponse) String

func (m *ModifyAdminsResponse) String() string

func (*ModifyAdminsResponse) Unmarshal

func (m *ModifyAdminsResponse) Unmarshal(dAtA []byte) error

func (*ModifyAdminsResponse) XXX_DiscardUnknown

func (m *ModifyAdminsResponse) XXX_DiscardUnknown()

func (*ModifyAdminsResponse) XXX_Marshal

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

func (*ModifyAdminsResponse) XXX_Merge

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

func (*ModifyAdminsResponse) XXX_Size

func (m *ModifyAdminsResponse) XXX_Size() int

func (*ModifyAdminsResponse) XXX_Unmarshal

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

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

func (*ModifyMembersRequest) Descriptor

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

func (*ModifyMembersRequest) GetAdd

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

func (*ModifyMembersRequest) GetGroup

func (m *ModifyMembersRequest) GetGroup() string

func (*ModifyMembersRequest) GetRemove

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

func (*ModifyMembersRequest) Marshal

func (m *ModifyMembersRequest) Marshal() (dAtA []byte, err error)

func (*ModifyMembersRequest) MarshalTo

func (m *ModifyMembersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ModifyMembersRequest) ProtoMessage

func (*ModifyMembersRequest) ProtoMessage()

func (*ModifyMembersRequest) Reset

func (m *ModifyMembersRequest) Reset()

func (*ModifyMembersRequest) Size

func (m *ModifyMembersRequest) Size() (n int)

func (*ModifyMembersRequest) String

func (m *ModifyMembersRequest) String() string

func (*ModifyMembersRequest) Unmarshal

func (m *ModifyMembersRequest) Unmarshal(dAtA []byte) error

func (*ModifyMembersRequest) XXX_DiscardUnknown

func (m *ModifyMembersRequest) XXX_DiscardUnknown()

func (*ModifyMembersRequest) XXX_Marshal

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

func (*ModifyMembersRequest) XXX_Merge

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

func (*ModifyMembersRequest) XXX_Size

func (m *ModifyMembersRequest) XXX_Size() int

func (*ModifyMembersRequest) XXX_Unmarshal

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

type ModifyMembersResponse

type ModifyMembersResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ModifyMembersResponse) Descriptor

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

func (*ModifyMembersResponse) Marshal

func (m *ModifyMembersResponse) Marshal() (dAtA []byte, err error)

func (*ModifyMembersResponse) MarshalTo

func (m *ModifyMembersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ModifyMembersResponse) ProtoMessage

func (*ModifyMembersResponse) ProtoMessage()

func (*ModifyMembersResponse) Reset

func (m *ModifyMembersResponse) Reset()

func (*ModifyMembersResponse) Size

func (m *ModifyMembersResponse) Size() (n int)

func (*ModifyMembersResponse) String

func (m *ModifyMembersResponse) String() string

func (*ModifyMembersResponse) Unmarshal

func (m *ModifyMembersResponse) Unmarshal(dAtA []byte) error

func (*ModifyMembersResponse) XXX_DiscardUnknown

func (m *ModifyMembersResponse) XXX_DiscardUnknown()

func (*ModifyMembersResponse) XXX_Marshal

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

func (*ModifyMembersResponse) XXX_Merge

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

func (*ModifyMembersResponse) XXX_Size

func (m *ModifyMembersResponse) XXX_Size() int

func (*ModifyMembersResponse) XXX_Unmarshal

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

type OTPInfo

type OTPInfo struct {
	// Subject (i.e. Pachyderm account) that a given OTP authenticates. This may
	// be copied into the 'subject' field of a TokenInfo, and therefore has the
	// same format, with the same prefixes.
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// session_expiration indicates when the subject's session expires, a.k.a.
	// when the Token to which this OTP converts expires (likely later than this
	// OTP expires, but never earlier).
	SessionExpiration    *types.Timestamp `protobuf:"bytes,2,opt,name=session_expiration,json=sessionExpiration,proto3" json:"session_expiration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

OTPInfo is the analogue of 'TokenInfo' for Authentication Codes (short-lived, one-time-use codes that are passed to the frontend and then exchanged for longer-lived tokens)

func (*OTPInfo) Descriptor

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

func (*OTPInfo) GetSessionExpiration

func (m *OTPInfo) GetSessionExpiration() *types.Timestamp

func (*OTPInfo) GetSubject

func (m *OTPInfo) GetSubject() string

func (*OTPInfo) Marshal

func (m *OTPInfo) Marshal() (dAtA []byte, err error)

func (*OTPInfo) MarshalTo

func (m *OTPInfo) MarshalTo(dAtA []byte) (int, error)

func (*OTPInfo) ProtoMessage

func (*OTPInfo) ProtoMessage()

func (*OTPInfo) Reset

func (m *OTPInfo) Reset()

func (*OTPInfo) Size

func (m *OTPInfo) Size() (n int)

func (*OTPInfo) String

func (m *OTPInfo) String() string

func (*OTPInfo) Unmarshal

func (m *OTPInfo) Unmarshal(dAtA []byte) error

func (*OTPInfo) XXX_DiscardUnknown

func (m *OTPInfo) XXX_DiscardUnknown()

func (*OTPInfo) XXX_Marshal

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

func (*OTPInfo) XXX_Merge

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

func (*OTPInfo) XXX_Size

func (m *OTPInfo) XXX_Size() int

func (*OTPInfo) XXX_Unmarshal

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

type RevokeAuthTokenRequest

type RevokeAuthTokenRequest struct {
	Token                string   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevokeAuthTokenRequest) Descriptor

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

func (*RevokeAuthTokenRequest) GetToken

func (m *RevokeAuthTokenRequest) GetToken() string

func (*RevokeAuthTokenRequest) Marshal

func (m *RevokeAuthTokenRequest) Marshal() (dAtA []byte, err error)

func (*RevokeAuthTokenRequest) MarshalTo

func (m *RevokeAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)

func (*RevokeAuthTokenRequest) ProtoMessage

func (*RevokeAuthTokenRequest) ProtoMessage()

func (*RevokeAuthTokenRequest) Reset

func (m *RevokeAuthTokenRequest) Reset()

func (*RevokeAuthTokenRequest) Size

func (m *RevokeAuthTokenRequest) Size() (n int)

func (*RevokeAuthTokenRequest) String

func (m *RevokeAuthTokenRequest) String() string

func (*RevokeAuthTokenRequest) Unmarshal

func (m *RevokeAuthTokenRequest) Unmarshal(dAtA []byte) error

func (*RevokeAuthTokenRequest) XXX_DiscardUnknown

func (m *RevokeAuthTokenRequest) XXX_DiscardUnknown()

func (*RevokeAuthTokenRequest) XXX_Marshal

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

func (*RevokeAuthTokenRequest) XXX_Merge

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

func (*RevokeAuthTokenRequest) XXX_Size

func (m *RevokeAuthTokenRequest) XXX_Size() int

func (*RevokeAuthTokenRequest) XXX_Unmarshal

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

type RevokeAuthTokenResponse

type RevokeAuthTokenResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RevokeAuthTokenResponse) Descriptor

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

func (*RevokeAuthTokenResponse) Marshal

func (m *RevokeAuthTokenResponse) Marshal() (dAtA []byte, err error)

func (*RevokeAuthTokenResponse) MarshalTo

func (m *RevokeAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)

func (*RevokeAuthTokenResponse) ProtoMessage

func (*RevokeAuthTokenResponse) ProtoMessage()

func (*RevokeAuthTokenResponse) Reset

func (m *RevokeAuthTokenResponse) Reset()

func (*RevokeAuthTokenResponse) Size

func (m *RevokeAuthTokenResponse) Size() (n int)

func (*RevokeAuthTokenResponse) String

func (m *RevokeAuthTokenResponse) String() string

func (*RevokeAuthTokenResponse) Unmarshal

func (m *RevokeAuthTokenResponse) Unmarshal(dAtA []byte) error

func (*RevokeAuthTokenResponse) XXX_DiscardUnknown

func (m *RevokeAuthTokenResponse) XXX_DiscardUnknown()

func (*RevokeAuthTokenResponse) XXX_Marshal

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

func (*RevokeAuthTokenResponse) XXX_Merge

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

func (*RevokeAuthTokenResponse) XXX_Size

func (m *RevokeAuthTokenResponse) XXX_Size() int

func (*RevokeAuthTokenResponse) XXX_Unmarshal

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

type Scope

type Scope int32

Scope (actually a "role" in canonical security nomenclature) represents a rough level of access that a principal has to a repo

const (
	// To remove a user's scope from a repo, set their scope to NONE
	Scope_NONE   Scope = 0
	Scope_READER Scope = 1
	Scope_WRITER Scope = 2
	Scope_OWNER  Scope = 3
)

func (Scope) EnumDescriptor

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

func (Scope) String

func (x Scope) String() string

type SetACLRequest

type SetACLRequest struct {
	Repo                 string      `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Entries              []*ACLEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SetACLRequest) Descriptor

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

func (*SetACLRequest) GetEntries

func (m *SetACLRequest) GetEntries() []*ACLEntry

func (*SetACLRequest) GetRepo

func (m *SetACLRequest) GetRepo() string

func (*SetACLRequest) Marshal

func (m *SetACLRequest) Marshal() (dAtA []byte, err error)

func (*SetACLRequest) MarshalTo

func (m *SetACLRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetACLRequest) ProtoMessage

func (*SetACLRequest) ProtoMessage()

func (*SetACLRequest) Reset

func (m *SetACLRequest) Reset()

func (*SetACLRequest) Size

func (m *SetACLRequest) Size() (n int)

func (*SetACLRequest) String

func (m *SetACLRequest) String() string

func (*SetACLRequest) Unmarshal

func (m *SetACLRequest) Unmarshal(dAtA []byte) error

func (*SetACLRequest) XXX_DiscardUnknown

func (m *SetACLRequest) XXX_DiscardUnknown()

func (*SetACLRequest) XXX_Marshal

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

func (*SetACLRequest) XXX_Merge

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

func (*SetACLRequest) XXX_Size

func (m *SetACLRequest) XXX_Size() int

func (*SetACLRequest) XXX_Unmarshal

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

type SetACLResponse

type SetACLResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetACLResponse) Descriptor

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

func (*SetACLResponse) Marshal

func (m *SetACLResponse) Marshal() (dAtA []byte, err error)

func (*SetACLResponse) MarshalTo

func (m *SetACLResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetACLResponse) ProtoMessage

func (*SetACLResponse) ProtoMessage()

func (*SetACLResponse) Reset

func (m *SetACLResponse) Reset()

func (*SetACLResponse) Size

func (m *SetACLResponse) Size() (n int)

func (*SetACLResponse) String

func (m *SetACLResponse) String() string

func (*SetACLResponse) Unmarshal

func (m *SetACLResponse) Unmarshal(dAtA []byte) error

func (*SetACLResponse) XXX_DiscardUnknown

func (m *SetACLResponse) XXX_DiscardUnknown()

func (*SetACLResponse) XXX_Marshal

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

func (*SetACLResponse) XXX_Merge

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

func (*SetACLResponse) XXX_Size

func (m *SetACLResponse) XXX_Size() int

func (*SetACLResponse) XXX_Unmarshal

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

type SetConfigurationRequest

type SetConfigurationRequest struct {
	Configuration        *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SetConfigurationRequest) Descriptor

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

func (*SetConfigurationRequest) GetConfiguration

func (m *SetConfigurationRequest) GetConfiguration() *AuthConfig

func (*SetConfigurationRequest) Marshal

func (m *SetConfigurationRequest) Marshal() (dAtA []byte, err error)

func (*SetConfigurationRequest) MarshalTo

func (m *SetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetConfigurationRequest) ProtoMessage

func (*SetConfigurationRequest) ProtoMessage()

func (*SetConfigurationRequest) Reset

func (m *SetConfigurationRequest) Reset()

func (*SetConfigurationRequest) Size

func (m *SetConfigurationRequest) Size() (n int)

func (*SetConfigurationRequest) String

func (m *SetConfigurationRequest) String() string

func (*SetConfigurationRequest) Unmarshal

func (m *SetConfigurationRequest) Unmarshal(dAtA []byte) error

func (*SetConfigurationRequest) XXX_DiscardUnknown

func (m *SetConfigurationRequest) XXX_DiscardUnknown()

func (*SetConfigurationRequest) XXX_Marshal

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

func (*SetConfigurationRequest) XXX_Merge

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

func (*SetConfigurationRequest) XXX_Size

func (m *SetConfigurationRequest) XXX_Size() int

func (*SetConfigurationRequest) XXX_Unmarshal

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

type SetConfigurationResponse

type SetConfigurationResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetConfigurationResponse) Descriptor

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

func (*SetConfigurationResponse) Marshal

func (m *SetConfigurationResponse) Marshal() (dAtA []byte, err error)

func (*SetConfigurationResponse) MarshalTo

func (m *SetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetConfigurationResponse) ProtoMessage

func (*SetConfigurationResponse) ProtoMessage()

func (*SetConfigurationResponse) Reset

func (m *SetConfigurationResponse) Reset()

func (*SetConfigurationResponse) Size

func (m *SetConfigurationResponse) Size() (n int)

func (*SetConfigurationResponse) String

func (m *SetConfigurationResponse) String() string

func (*SetConfigurationResponse) Unmarshal

func (m *SetConfigurationResponse) Unmarshal(dAtA []byte) error

func (*SetConfigurationResponse) XXX_DiscardUnknown

func (m *SetConfigurationResponse) XXX_DiscardUnknown()

func (*SetConfigurationResponse) XXX_Marshal

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

func (*SetConfigurationResponse) XXX_Merge

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

func (*SetConfigurationResponse) XXX_Size

func (m *SetConfigurationResponse) XXX_Size() int

func (*SetConfigurationResponse) XXX_Unmarshal

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

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

func (*SetGroupsForUserRequest) Descriptor

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

func (*SetGroupsForUserRequest) GetGroups

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

func (*SetGroupsForUserRequest) GetUsername

func (m *SetGroupsForUserRequest) GetUsername() string

func (*SetGroupsForUserRequest) Marshal

func (m *SetGroupsForUserRequest) Marshal() (dAtA []byte, err error)

func (*SetGroupsForUserRequest) MarshalTo

func (m *SetGroupsForUserRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetGroupsForUserRequest) ProtoMessage

func (*SetGroupsForUserRequest) ProtoMessage()

func (*SetGroupsForUserRequest) Reset

func (m *SetGroupsForUserRequest) Reset()

func (*SetGroupsForUserRequest) Size

func (m *SetGroupsForUserRequest) Size() (n int)

func (*SetGroupsForUserRequest) String

func (m *SetGroupsForUserRequest) String() string

func (*SetGroupsForUserRequest) Unmarshal

func (m *SetGroupsForUserRequest) Unmarshal(dAtA []byte) error

func (*SetGroupsForUserRequest) XXX_DiscardUnknown

func (m *SetGroupsForUserRequest) XXX_DiscardUnknown()

func (*SetGroupsForUserRequest) XXX_Marshal

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

func (*SetGroupsForUserRequest) XXX_Merge

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

func (*SetGroupsForUserRequest) XXX_Size

func (m *SetGroupsForUserRequest) XXX_Size() int

func (*SetGroupsForUserRequest) XXX_Unmarshal

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

type SetGroupsForUserResponse

type SetGroupsForUserResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetGroupsForUserResponse) Descriptor

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

func (*SetGroupsForUserResponse) Marshal

func (m *SetGroupsForUserResponse) Marshal() (dAtA []byte, err error)

func (*SetGroupsForUserResponse) MarshalTo

func (m *SetGroupsForUserResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetGroupsForUserResponse) ProtoMessage

func (*SetGroupsForUserResponse) ProtoMessage()

func (*SetGroupsForUserResponse) Reset

func (m *SetGroupsForUserResponse) Reset()

func (*SetGroupsForUserResponse) Size

func (m *SetGroupsForUserResponse) Size() (n int)

func (*SetGroupsForUserResponse) String

func (m *SetGroupsForUserResponse) String() string

func (*SetGroupsForUserResponse) Unmarshal

func (m *SetGroupsForUserResponse) Unmarshal(dAtA []byte) error

func (*SetGroupsForUserResponse) XXX_DiscardUnknown

func (m *SetGroupsForUserResponse) XXX_DiscardUnknown()

func (*SetGroupsForUserResponse) XXX_Marshal

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

func (*SetGroupsForUserResponse) XXX_Merge

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

func (*SetGroupsForUserResponse) XXX_Size

func (m *SetGroupsForUserResponse) XXX_Size() int

func (*SetGroupsForUserResponse) XXX_Unmarshal

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

type SetScopeRequest

type SetScopeRequest struct {
	// username is the principal (some of which belong to robots rather than
	// users, but the name is preserved for now to provide compatibility with the
	// pachyderm dash) whose access is being granted/revoked. As with
	// GetScopeRequest, to set the access level of a robot user, the caller must
	// prefix username with "robot:". If 'username' has no prefix (i.e. no ":"),
	// then it's assumed to be a github user's principal.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// repo is the object to which access is being granted/revoked
	Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
	// scope (actually a "role"--see "Scope") is the access level that the owner
	// of 'principal' will now have
	Scope                Scope    `protobuf:"varint,3,opt,name=scope,proto3,enum=auth_1_8.Scope" json:"scope,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetScopeRequest) Descriptor

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

func (*SetScopeRequest) GetRepo

func (m *SetScopeRequest) GetRepo() string

func (*SetScopeRequest) GetScope

func (m *SetScopeRequest) GetScope() Scope

func (*SetScopeRequest) GetUsername

func (m *SetScopeRequest) GetUsername() string

func (*SetScopeRequest) Marshal

func (m *SetScopeRequest) Marshal() (dAtA []byte, err error)

func (*SetScopeRequest) MarshalTo

func (m *SetScopeRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetScopeRequest) ProtoMessage

func (*SetScopeRequest) ProtoMessage()

func (*SetScopeRequest) Reset

func (m *SetScopeRequest) Reset()

func (*SetScopeRequest) Size

func (m *SetScopeRequest) Size() (n int)

func (*SetScopeRequest) String

func (m *SetScopeRequest) String() string

func (*SetScopeRequest) Unmarshal

func (m *SetScopeRequest) Unmarshal(dAtA []byte) error

func (*SetScopeRequest) XXX_DiscardUnknown

func (m *SetScopeRequest) XXX_DiscardUnknown()

func (*SetScopeRequest) XXX_Marshal

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

func (*SetScopeRequest) XXX_Merge

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

func (*SetScopeRequest) XXX_Size

func (m *SetScopeRequest) XXX_Size() int

func (*SetScopeRequest) XXX_Unmarshal

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

type SetScopeResponse

type SetScopeResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetScopeResponse) Descriptor

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

func (*SetScopeResponse) Marshal

func (m *SetScopeResponse) Marshal() (dAtA []byte, err error)

func (*SetScopeResponse) MarshalTo

func (m *SetScopeResponse) MarshalTo(dAtA []byte) (int, error)

func (*SetScopeResponse) ProtoMessage

func (*SetScopeResponse) ProtoMessage()

func (*SetScopeResponse) Reset

func (m *SetScopeResponse) Reset()

func (*SetScopeResponse) Size

func (m *SetScopeResponse) Size() (n int)

func (*SetScopeResponse) String

func (m *SetScopeResponse) String() string

func (*SetScopeResponse) Unmarshal

func (m *SetScopeResponse) Unmarshal(dAtA []byte) error

func (*SetScopeResponse) XXX_DiscardUnknown

func (m *SetScopeResponse) XXX_DiscardUnknown()

func (*SetScopeResponse) XXX_Marshal

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

func (*SetScopeResponse) XXX_Merge

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

func (*SetScopeResponse) XXX_Size

func (m *SetScopeResponse) XXX_Size() int

func (*SetScopeResponse) XXX_Unmarshal

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

type TokenInfo

type TokenInfo struct {
	// Subject (i.e. Pachyderm account) that a given token authorizes. Prefixed
	// with "github:" or "robot:" to distinguish the two classes of
	// Subject in Pachyderm
	Subject              string                `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	Source               TokenInfo_TokenSource `protobuf:"varint,2,opt,name=source,proto3,enum=auth_1_8.TokenInfo_TokenSource" json:"source,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

func (*TokenInfo) Descriptor

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

func (*TokenInfo) GetSource

func (m *TokenInfo) GetSource() TokenInfo_TokenSource

func (*TokenInfo) GetSubject

func (m *TokenInfo) GetSubject() string

func (*TokenInfo) Marshal

func (m *TokenInfo) Marshal() (dAtA []byte, err error)

func (*TokenInfo) MarshalTo

func (m *TokenInfo) MarshalTo(dAtA []byte) (int, error)

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) Reset

func (m *TokenInfo) Reset()

func (*TokenInfo) Size

func (m *TokenInfo) Size() (n int)

func (*TokenInfo) String

func (m *TokenInfo) String() string

func (*TokenInfo) Unmarshal

func (m *TokenInfo) Unmarshal(dAtA []byte) error

func (*TokenInfo) XXX_DiscardUnknown

func (m *TokenInfo) XXX_DiscardUnknown()

func (*TokenInfo) XXX_Marshal

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

func (*TokenInfo) XXX_Merge

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

func (*TokenInfo) XXX_Size

func (m *TokenInfo) XXX_Size() int

func (*TokenInfo) XXX_Unmarshal

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

type TokenInfo_TokenSource

type TokenInfo_TokenSource int32
const (
	TokenInfo_INVALID      TokenInfo_TokenSource = 0
	TokenInfo_AUTHENTICATE TokenInfo_TokenSource = 1
	TokenInfo_GET_TOKEN    TokenInfo_TokenSource = 2
)

func (TokenInfo_TokenSource) EnumDescriptor

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

func (TokenInfo_TokenSource) String

func (x TokenInfo_TokenSource) String() string

type UnimplementedAPIServer

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) Activate

func (*UnimplementedAPIServer) Authenticate

func (*UnimplementedAPIServer) Authorize

func (*UnimplementedAPIServer) Deactivate

func (*UnimplementedAPIServer) ExtendAuthToken

func (*UnimplementedAPIServer) GetACL

func (*UnimplementedAPIServer) GetAdmins

func (*UnimplementedAPIServer) GetAuthToken

func (*UnimplementedAPIServer) GetConfiguration

func (*UnimplementedAPIServer) GetGroups

func (*UnimplementedAPIServer) GetOneTimePassword

func (*UnimplementedAPIServer) GetScope

func (*UnimplementedAPIServer) GetUsers

func (*UnimplementedAPIServer) ModifyAdmins

func (*UnimplementedAPIServer) ModifyMembers

func (*UnimplementedAPIServer) RevokeAuthToken

func (*UnimplementedAPIServer) SetACL

func (*UnimplementedAPIServer) SetConfiguration

func (*UnimplementedAPIServer) SetGroupsForUser

func (*UnimplementedAPIServer) SetScope

func (*UnimplementedAPIServer) WhoAmI

type Users

type Users struct {
	Usernames            map[string]bool `` /* 160-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Users) Descriptor

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

func (*Users) GetUsernames

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

func (*Users) Marshal

func (m *Users) Marshal() (dAtA []byte, err error)

func (*Users) MarshalTo

func (m *Users) MarshalTo(dAtA []byte) (int, error)

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) Reset

func (m *Users) Reset()

func (*Users) Size

func (m *Users) Size() (n int)

func (*Users) String

func (m *Users) String() string

func (*Users) Unmarshal

func (m *Users) Unmarshal(dAtA []byte) error

func (*Users) XXX_DiscardUnknown

func (m *Users) XXX_DiscardUnknown()

func (*Users) XXX_Marshal

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

func (*Users) XXX_Merge

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

func (*Users) XXX_Size

func (m *Users) XXX_Size() int

func (*Users) XXX_Unmarshal

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

type WhoAmIRequest

type WhoAmIRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WhoAmIRequest)