pachyderm: github.com/pachyderm/pachyderm/src/client/admin/1_8/auth Index | Files

package auth

import "github.com/pachyderm/pachyderm/src/client/admin/1_8/auth"

Index

Package Files

auth.pb.go

Variables

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

func RegisterAPIServer Uses

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

type ACL Uses

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 `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=auth_1_8.Scope"`
    XXX_NoUnkeyedLiteral struct{}         `json:"-"`
    XXX_unrecognized     []byte           `json:"-"`
    XXX_sizecache        int32            `json:"-"`
}

func (*ACL) Descriptor Uses

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

func (*ACL) GetEntries Uses

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

func (*ACL) Marshal Uses

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

func (*ACL) MarshalTo Uses

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

func (*ACL) ProtoMessage Uses

func (*ACL) ProtoMessage()

func (*ACL) Reset Uses

func (m *ACL) Reset()

func (*ACL) Size Uses

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

func (*ACL) String Uses

func (m *ACL) String() string

func (*ACL) Unmarshal Uses

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

func (*ACL) XXX_DiscardUnknown Uses

func (m *ACL) XXX_DiscardUnknown()

func (*ACL) XXX_Marshal Uses

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

func (*ACL) XXX_Merge Uses

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

func (*ACL) XXX_Size Uses

func (m *ACL) XXX_Size() int

func (*ACL) XXX_Unmarshal Uses

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

type ACLEntry Uses

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 Uses

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

func (*ACLEntry) GetScope Uses

func (m *ACLEntry) GetScope() Scope

func (*ACLEntry) GetUsername Uses

func (m *ACLEntry) GetUsername() string

func (*ACLEntry) Marshal Uses

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

func (*ACLEntry) MarshalTo Uses

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

func (*ACLEntry) ProtoMessage Uses

func (*ACLEntry) ProtoMessage()

func (*ACLEntry) Reset Uses

func (m *ACLEntry) Reset()

func (*ACLEntry) Size Uses

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

func (*ACLEntry) String Uses

func (m *ACLEntry) String() string

func (*ACLEntry) Unmarshal Uses

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

func (*ACLEntry) XXX_DiscardUnknown Uses

func (m *ACLEntry) XXX_DiscardUnknown()

func (*ACLEntry) XXX_Marshal Uses

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

func (*ACLEntry) XXX_Merge Uses

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

func (*ACLEntry) XXX_Size Uses

func (m *ACLEntry) XXX_Size() int

func (*ACLEntry) XXX_Unmarshal Uses

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

type APIClient Uses

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 Uses

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer Uses

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 Uses

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 Uses

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

func (*ActivateRequest) GetGitHubToken Uses

func (m *ActivateRequest) GetGitHubToken() string

func (*ActivateRequest) GetSubject Uses

func (m *ActivateRequest) GetSubject() string

func (*ActivateRequest) Marshal Uses

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

func (*ActivateRequest) MarshalTo Uses

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

func (*ActivateRequest) ProtoMessage Uses

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) Reset Uses

func (m *ActivateRequest) Reset()

func (*ActivateRequest) Size Uses

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

func (*ActivateRequest) String Uses

func (m *ActivateRequest) String() string

func (*ActivateRequest) Unmarshal Uses

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

func (*ActivateRequest) XXX_DiscardUnknown Uses

func (m *ActivateRequest) XXX_DiscardUnknown()

func (*ActivateRequest) XXX_Marshal Uses

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

func (*ActivateRequest) XXX_Merge Uses

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

func (*ActivateRequest) XXX_Size Uses

func (m *ActivateRequest) XXX_Size() int

func (*ActivateRequest) XXX_Unmarshal Uses

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

type ActivateResponse Uses

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 Uses

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

func (*ActivateResponse) GetPachToken Uses

func (m *ActivateResponse) GetPachToken() string

func (*ActivateResponse) Marshal Uses

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

func (*ActivateResponse) MarshalTo Uses

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

func (*ActivateResponse) ProtoMessage Uses

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) Reset Uses

func (m *ActivateResponse) Reset()

func (*ActivateResponse) Size Uses

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

func (*ActivateResponse) String Uses

func (m *ActivateResponse) String() string

func (*ActivateResponse) Unmarshal Uses

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

func (*ActivateResponse) XXX_DiscardUnknown Uses

func (m *ActivateResponse) XXX_DiscardUnknown()

func (*ActivateResponse) XXX_Marshal Uses

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

func (*ActivateResponse) XXX_Merge Uses

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

func (*ActivateResponse) XXX_Size Uses

func (m *ActivateResponse) XXX_Size() int

func (*ActivateResponse) XXX_Unmarshal Uses

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

type AuthConfig Uses

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 Uses

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

func (*AuthConfig) GetIDProviders Uses

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

func (*AuthConfig) GetLiveConfigVersion Uses

func (m *AuthConfig) GetLiveConfigVersion() int64

func (*AuthConfig) GetSAMLServiceOptions Uses

func (m *AuthConfig) GetSAMLServiceOptions() *AuthConfig_SAMLServiceOptions

func (*AuthConfig) Marshal Uses

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

func (*AuthConfig) MarshalTo Uses

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

func (*AuthConfig) ProtoMessage Uses

func (*AuthConfig) ProtoMessage()

func (*AuthConfig) Reset Uses

func (m *AuthConfig) Reset()

func (*AuthConfig) Size Uses

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

func (*AuthConfig) String Uses

func (m *AuthConfig) String() string

func (*AuthConfig) Unmarshal Uses

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

func (*AuthConfig) XXX_DiscardUnknown Uses

func (m *AuthConfig) XXX_DiscardUnknown()

func (*AuthConfig) XXX_Marshal Uses

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

func (*AuthConfig) XXX_Merge Uses

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

func (*AuthConfig) XXX_Size Uses

func (m *AuthConfig) XXX_Size() int

func (*AuthConfig) XXX_Unmarshal Uses

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

type AuthConfig_SAMLServiceOptions Uses

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 Uses

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

func (*AuthConfig_SAMLServiceOptions) GetACSURL Uses

func (m *AuthConfig_SAMLServiceOptions) GetACSURL() string

func (*AuthConfig_SAMLServiceOptions) GetDashURL Uses

func (m *AuthConfig_SAMLServiceOptions) GetDashURL() string

func (*AuthConfig_SAMLServiceOptions) GetDebugLogging Uses

func (m *AuthConfig_SAMLServiceOptions) GetDebugLogging() bool

func (*AuthConfig_SAMLServiceOptions) GetMetadataURL Uses

func (m *AuthConfig_SAMLServiceOptions) GetMetadataURL() string

func (*AuthConfig_SAMLServiceOptions) GetSessionDuration Uses

func (m *AuthConfig_SAMLServiceOptions) GetSessionDuration() string

func (*AuthConfig_SAMLServiceOptions) Marshal Uses

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

func (*AuthConfig_SAMLServiceOptions) MarshalTo Uses

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

func (*AuthConfig_SAMLServiceOptions) ProtoMessage Uses

func (*AuthConfig_SAMLServiceOptions) ProtoMessage()

func (*AuthConfig_SAMLServiceOptions) Reset Uses

func (m *AuthConfig_SAMLServiceOptions) Reset()

func (*AuthConfig_SAMLServiceOptions) Size Uses

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

func (*AuthConfig_SAMLServiceOptions) String Uses

func (m *AuthConfig_SAMLServiceOptions) String() string

func (*AuthConfig_SAMLServiceOptions) Unmarshal Uses

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

func (*AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown Uses

func (m *AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown()

func (*AuthConfig_SAMLServiceOptions) XXX_Marshal Uses

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

func (*AuthConfig_SAMLServiceOptions) XXX_Merge Uses

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

func (*AuthConfig_SAMLServiceOptions) XXX_Size Uses

func (m *AuthConfig_SAMLServiceOptions) XXX_Size() int

func (*AuthConfig_SAMLServiceOptions) XXX_Unmarshal Uses

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

type AuthenticateRequest Uses

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 Uses

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

func (*AuthenticateRequest) GetGitHubToken Uses

func (m *AuthenticateRequest) GetGitHubToken() string

func (*AuthenticateRequest) GetOneTimePassword Uses

func (m *AuthenticateRequest) GetOneTimePassword() string

func (*AuthenticateRequest) Marshal Uses

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

func (*AuthenticateRequest) MarshalTo Uses

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

func (*AuthenticateRequest) ProtoMessage Uses

func (*AuthenticateRequest) ProtoMessage()

func (*AuthenticateRequest) Reset Uses

func (m *AuthenticateRequest) Reset()

func (*AuthenticateRequest) Size Uses

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

func (*AuthenticateRequest) String Uses

func (m *AuthenticateRequest) String() string

func (*AuthenticateRequest) Unmarshal Uses

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

func (*AuthenticateRequest) XXX_DiscardUnknown Uses

func (m *AuthenticateRequest) XXX_DiscardUnknown()

func (*AuthenticateRequest) XXX_Marshal Uses

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

func (*AuthenticateRequest) XXX_Merge Uses

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

func (*AuthenticateRequest) XXX_Size Uses

func (m *AuthenticateRequest) XXX_Size() int

func (*AuthenticateRequest) XXX_Unmarshal Uses

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

type AuthenticateResponse Uses

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 Uses

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

func (*AuthenticateResponse) GetPachToken Uses

func (m *AuthenticateResponse) GetPachToken() string

func (*AuthenticateResponse) Marshal Uses

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

func (*AuthenticateResponse) MarshalTo Uses

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

func (*AuthenticateResponse) ProtoMessage Uses

func (*AuthenticateResponse) ProtoMessage()

func (*AuthenticateResponse) Reset Uses

func (m *AuthenticateResponse) Reset()

func (*AuthenticateResponse) Size Uses

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

func (*AuthenticateResponse) String Uses

func (m *AuthenticateResponse) String() string

func (*AuthenticateResponse) Unmarshal Uses

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

func (*AuthenticateResponse) XXX_DiscardUnknown Uses

func (m *AuthenticateResponse) XXX_DiscardUnknown()

func (*AuthenticateResponse) XXX_Marshal Uses

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

func (*AuthenticateResponse) XXX_Merge Uses

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

func (*AuthenticateResponse) XXX_Size Uses

func (m *AuthenticateResponse) XXX_Size() int

func (*AuthenticateResponse) XXX_Unmarshal Uses

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

type AuthorizeRequest Uses

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 Uses

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

func (*AuthorizeRequest) GetRepo Uses

func (m *AuthorizeRequest) GetRepo() string

func (*AuthorizeRequest) GetScope Uses

func (m *AuthorizeRequest) GetScope() Scope

func (*AuthorizeRequest) Marshal Uses

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

func (*AuthorizeRequest) MarshalTo Uses

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

func (*AuthorizeRequest) ProtoMessage Uses

func (*AuthorizeRequest) ProtoMessage()

func (*AuthorizeRequest) Reset Uses

func (m *AuthorizeRequest) Reset()

func (*AuthorizeRequest) Size Uses

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

func (*AuthorizeRequest) String Uses

func (m *AuthorizeRequest) String() string

func (*AuthorizeRequest) Unmarshal Uses

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

func (*AuthorizeRequest) XXX_DiscardUnknown Uses

func (m *AuthorizeRequest) XXX_DiscardUnknown()

func (*AuthorizeRequest) XXX_Marshal Uses

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

func (*AuthorizeRequest) XXX_Merge Uses

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

func (*AuthorizeRequest) XXX_Size Uses

func (m *AuthorizeRequest) XXX_Size() int

func (*AuthorizeRequest) XXX_Unmarshal Uses

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

type AuthorizeResponse Uses

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 Uses

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

func (*AuthorizeResponse) GetAuthorized Uses

func (m *AuthorizeResponse) GetAuthorized() bool

func (*AuthorizeResponse) Marshal Uses

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

func (*AuthorizeResponse) MarshalTo Uses

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

func (*AuthorizeResponse) ProtoMessage Uses

func (*AuthorizeResponse) ProtoMessage()

func (*AuthorizeResponse) Reset Uses

func (m *AuthorizeResponse) Reset()

func (*AuthorizeResponse) Size Uses

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

func (*AuthorizeResponse) String Uses

func (m *AuthorizeResponse) String() string

func (*AuthorizeResponse) Unmarshal Uses

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

func (*AuthorizeResponse) XXX_DiscardUnknown Uses

func (m *AuthorizeResponse) XXX_DiscardUnknown()

func (*AuthorizeResponse) XXX_Marshal Uses

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

func (*AuthorizeResponse) XXX_Merge Uses

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

func (*AuthorizeResponse) XXX_Size Uses

func (m *AuthorizeResponse) XXX_Size() int

func (*AuthorizeResponse) XXX_Unmarshal Uses

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

type DeactivateRequest Uses

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

func (*DeactivateRequest) Descriptor Uses

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

func (*DeactivateRequest) Marshal Uses

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

func (*DeactivateRequest) MarshalTo Uses

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

func (*DeactivateRequest) ProtoMessage Uses

func (*DeactivateRequest) ProtoMessage()

func (*DeactivateRequest) Reset Uses

func (m *DeactivateRequest) Reset()

func (*DeactivateRequest) Size Uses

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

func (*DeactivateRequest) String Uses

func (m *DeactivateRequest) String() string

func (*DeactivateRequest) Unmarshal Uses

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

func (*DeactivateRequest) XXX_DiscardUnknown Uses

func (m *DeactivateRequest) XXX_DiscardUnknown()

func (*DeactivateRequest) XXX_Marshal Uses

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

func (*DeactivateRequest) XXX_Merge Uses

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

func (*DeactivateRequest) XXX_Size Uses

func (m *DeactivateRequest) XXX_Size() int

func (*DeactivateRequest) XXX_Unmarshal Uses

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

type DeactivateResponse Uses

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

func (*DeactivateResponse) Descriptor Uses

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

func (*DeactivateResponse) Marshal Uses

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

func (*DeactivateResponse) MarshalTo Uses

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

func (*DeactivateResponse) ProtoMessage Uses

func (*DeactivateResponse) ProtoMessage()

func (*DeactivateResponse) Reset Uses

func (m *DeactivateResponse) Reset()

func (*DeactivateResponse) Size Uses

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

func (*DeactivateResponse) String Uses

func (m *DeactivateResponse) String() string

func (*DeactivateResponse) Unmarshal Uses

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

func (*DeactivateResponse) XXX_DiscardUnknown Uses

func (m *DeactivateResponse) XXX_DiscardUnknown()

func (*DeactivateResponse) XXX_Marshal Uses

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

func (*DeactivateResponse) XXX_Merge Uses

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

func (*DeactivateResponse) XXX_Size Uses

func (m *DeactivateResponse) XXX_Size() int

func (*DeactivateResponse) XXX_Unmarshal Uses

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

type ExtendAuthTokenRequest Uses

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 Uses

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

func (*ExtendAuthTokenRequest) GetTTL Uses

func (m *ExtendAuthTokenRequest) GetTTL() int64

func (*ExtendAuthTokenRequest) GetToken Uses

func (m *ExtendAuthTokenRequest) GetToken() string

func (*ExtendAuthTokenRequest) Marshal Uses

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

func (*ExtendAuthTokenRequest) MarshalTo Uses

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

func (*ExtendAuthTokenRequest) ProtoMessage Uses

func (*ExtendAuthTokenRequest) ProtoMessage()

func (*ExtendAuthTokenRequest) Reset Uses

func (m *ExtendAuthTokenRequest) Reset()

func (*ExtendAuthTokenRequest) Size Uses

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

func (*ExtendAuthTokenRequest) String Uses

func (m *ExtendAuthTokenRequest) String() string

func (*ExtendAuthTokenRequest) Unmarshal Uses

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

func (*ExtendAuthTokenRequest) XXX_DiscardUnknown Uses

func (m *ExtendAuthTokenRequest) XXX_DiscardUnknown()

func (*ExtendAuthTokenRequest) XXX_Marshal Uses

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

func (*ExtendAuthTokenRequest) XXX_Merge Uses

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

func (*ExtendAuthTokenRequest) XXX_Size Uses

func (m *ExtendAuthTokenRequest) XXX_Size() int

func (*ExtendAuthTokenRequest) XXX_Unmarshal Uses

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

type ExtendAuthTokenResponse Uses

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

func (*ExtendAuthTokenResponse) Descriptor Uses

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

func (*ExtendAuthTokenResponse) Marshal Uses

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

func (*ExtendAuthTokenResponse) MarshalTo Uses

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

func (*ExtendAuthTokenResponse) ProtoMessage Uses

func (*ExtendAuthTokenResponse) ProtoMessage()

func (*ExtendAuthTokenResponse) Reset Uses

func (m *ExtendAuthTokenResponse) Reset()

func (*ExtendAuthTokenResponse) Size Uses

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

func (*ExtendAuthTokenResponse) String Uses

func (m *ExtendAuthTokenResponse) String() string

func (*ExtendAuthTokenResponse) Unmarshal Uses

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

func (*ExtendAuthTokenResponse) XXX_DiscardUnknown Uses

func (m *ExtendAuthTokenResponse) XXX_DiscardUnknown()

func (*ExtendAuthTokenResponse) XXX_Marshal Uses

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

func (*ExtendAuthTokenResponse) XXX_Merge Uses

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

func (*ExtendAuthTokenResponse) XXX_Size Uses

func (m *ExtendAuthTokenResponse) XXX_Size() int

func (*ExtendAuthTokenResponse) XXX_Unmarshal Uses

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

type GetACLRequest Uses

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 Uses

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

func (*GetACLRequest) GetRepo Uses

func (m *GetACLRequest) GetRepo() string

func (*GetACLRequest) Marshal Uses

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

func (*GetACLRequest) MarshalTo Uses

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

func (*GetACLRequest) ProtoMessage Uses

func (*GetACLRequest) ProtoMessage()

func (*GetACLRequest) Reset Uses

func (m *GetACLRequest) Reset()

func (*GetACLRequest) Size Uses

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

func (*GetACLRequest) String Uses

func (m *GetACLRequest) String() string

func (*GetACLRequest) Unmarshal Uses

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

func (*GetACLRequest) XXX_DiscardUnknown Uses

func (m *GetACLRequest) XXX_DiscardUnknown()

func (*GetACLRequest) XXX_Marshal Uses

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

func (*GetACLRequest) XXX_Merge Uses

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

func (*GetACLRequest) XXX_Size Uses

func (m *GetACLRequest) XXX_Size() int

func (*GetACLRequest) XXX_Unmarshal Uses

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

type GetACLResponse Uses

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 Uses

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

func (*GetACLResponse) GetEntries Uses

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

func (*GetACLResponse) GetRobotEntries Uses

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

func (*GetACLResponse) Marshal Uses

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

func (*GetACLResponse) MarshalTo Uses

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

func (*GetACLResponse) ProtoMessage Uses

func (*GetACLResponse) ProtoMessage()

func (*GetACLResponse) Reset Uses

func (m *GetACLResponse) Reset()

func (*GetACLResponse) Size Uses

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

func (*GetACLResponse) String Uses

func (m *GetACLResponse) String() string

func (*GetACLResponse) Unmarshal Uses

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

func (*GetACLResponse) XXX_DiscardUnknown Uses

func (m *GetACLResponse) XXX_DiscardUnknown()

func (*GetACLResponse) XXX_Marshal Uses

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

func (*GetACLResponse) XXX_Merge Uses

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

func (*GetACLResponse) XXX_Size Uses

func (m *GetACLResponse) XXX_Size() int

func (*GetACLResponse) XXX_Unmarshal Uses

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

type GetAdminsRequest Uses

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 Uses

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

func (*GetAdminsRequest) Marshal Uses

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

func (*GetAdminsRequest) MarshalTo Uses

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

func (*GetAdminsRequest) ProtoMessage Uses

func (*GetAdminsRequest) ProtoMessage()

func (*GetAdminsRequest) Reset Uses

func (m *GetAdminsRequest) Reset()

func (*GetAdminsRequest) Size Uses

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

func (*GetAdminsRequest) String Uses

func (m *GetAdminsRequest) String() string

func (*GetAdminsRequest) Unmarshal Uses

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

func (*GetAdminsRequest) XXX_DiscardUnknown Uses

func (m *GetAdminsRequest) XXX_DiscardUnknown()

func (*GetAdminsRequest) XXX_Marshal Uses

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

func (*GetAdminsRequest) XXX_Merge Uses

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

func (*GetAdminsRequest) XXX_Size Uses

func (m *GetAdminsRequest) XXX_Size() int

func (*GetAdminsRequest) XXX_Unmarshal Uses

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

type GetAdminsResponse Uses

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 Uses

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

func (*GetAdminsResponse) GetAdmins Uses

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

func (*GetAdminsResponse) Marshal Uses

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

func (*GetAdminsResponse) MarshalTo Uses

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

func (*GetAdminsResponse) ProtoMessage Uses

func (*GetAdminsResponse) ProtoMessage()

func (*GetAdminsResponse) Reset Uses

func (m *GetAdminsResponse) Reset()

func (*GetAdminsResponse) Size Uses

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

func (*GetAdminsResponse) String Uses

func (m *GetAdminsResponse) String() string

func (*GetAdminsResponse) Unmarshal Uses

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

func (*GetAdminsResponse) XXX_DiscardUnknown Uses

func (m *GetAdminsResponse) XXX_DiscardUnknown()

func (*GetAdminsResponse) XXX_Marshal Uses

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

func (*GetAdminsResponse) XXX_Merge Uses

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

func (*GetAdminsResponse) XXX_Size Uses

func (m *GetAdminsResponse) XXX_Size() int

func (*GetAdminsResponse) XXX_Unmarshal Uses

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

type GetAuthTokenRequest Uses

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 Uses

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

func (*GetAuthTokenRequest) GetSubject Uses

func (m *GetAuthTokenRequest) GetSubject() string

func (*GetAuthTokenRequest) GetTTL Uses

func (m *GetAuthTokenRequest) GetTTL() int64

func (*GetAuthTokenRequest) Marshal Uses

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

func (*GetAuthTokenRequest) MarshalTo Uses

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

func (*GetAuthTokenRequest) ProtoMessage Uses

func (*GetAuthTokenRequest) ProtoMessage()

func (*GetAuthTokenRequest) Reset Uses

func (m *GetAuthTokenRequest) Reset()

func (*GetAuthTokenRequest) Size Uses

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

func (*GetAuthTokenRequest) String Uses

func (m *GetAuthTokenRequest) String() string

func (*GetAuthTokenRequest) Unmarshal Uses

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

func (*GetAuthTokenRequest) XXX_DiscardUnknown Uses

func (m *GetAuthTokenRequest) XXX_DiscardUnknown()

func (*GetAuthTokenRequest) XXX_Marshal Uses

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

func (*GetAuthTokenRequest) XXX_Merge Uses

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

func (*GetAuthTokenRequest) XXX_Size Uses

func (m *GetAuthTokenRequest) XXX_Size() int

func (*GetAuthTokenRequest) XXX_Unmarshal Uses

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

type GetAuthTokenResponse Uses

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 Uses

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

func (*GetAuthTokenResponse) GetSubject Uses

func (m *GetAuthTokenResponse) GetSubject() string

func (*GetAuthTokenResponse) GetToken Uses

func (m *GetAuthTokenResponse) GetToken() string

func (*GetAuthTokenResponse) Marshal Uses

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

func (*GetAuthTokenResponse) MarshalTo Uses

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

func (*GetAuthTokenResponse) ProtoMessage Uses

func (*GetAuthTokenResponse) ProtoMessage()

func (*GetAuthTokenResponse) Reset Uses

func (m *GetAuthTokenResponse) Reset()

func (*GetAuthTokenResponse) Size Uses

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

func (*GetAuthTokenResponse) String Uses

func (m *GetAuthTokenResponse) String() string

func (*GetAuthTokenResponse) Unmarshal Uses

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

func (*GetAuthTokenResponse) XXX_DiscardUnknown Uses

func (m *GetAuthTokenResponse) XXX_DiscardUnknown()

func (*GetAuthTokenResponse) XXX_Marshal Uses

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

func (*GetAuthTokenResponse) XXX_Merge Uses

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

func (*GetAuthTokenResponse) XXX_Size Uses

func (m *GetAuthTokenResponse) XXX_Size() int

func (*GetAuthTokenResponse) XXX_Unmarshal Uses

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

type GetConfigurationRequest Uses

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

func (*GetConfigurationRequest) Descriptor Uses

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

func (*GetConfigurationRequest) Marshal Uses

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

func (*GetConfigurationRequest) MarshalTo Uses

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

func (*GetConfigurationRequest) ProtoMessage Uses

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) Reset Uses

func (m *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) Size Uses

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

func (*GetConfigurationRequest) String Uses

func (m *GetConfigurationRequest) String() string

func (*GetConfigurationRequest) Unmarshal Uses

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

func (*GetConfigurationRequest) XXX_DiscardUnknown Uses

func (m *GetConfigurationRequest) XXX_DiscardUnknown()

func (*GetConfigurationRequest) XXX_Marshal Uses

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

func (*GetConfigurationRequest) XXX_Merge Uses

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

func (*GetConfigurationRequest) XXX_Size Uses

func (m *GetConfigurationRequest) XXX_Size() int

func (*GetConfigurationRequest) XXX_Unmarshal Uses

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

type GetConfigurationResponse Uses

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 Uses

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

func (*GetConfigurationResponse) GetConfiguration Uses

func (m *GetConfigurationResponse) GetConfiguration() *AuthConfig

func (*GetConfigurationResponse) Marshal Uses

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

func (*GetConfigurationResponse) MarshalTo Uses

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

func (*GetConfigurationResponse) ProtoMessage Uses

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) Reset Uses

func (m *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) Size Uses

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

func (*GetConfigurationResponse) String Uses

func (m *GetConfigurationResponse) String() string

func (*GetConfigurationResponse) Unmarshal Uses

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

func (*GetConfigurationResponse) XXX_DiscardUnknown Uses

func (m *GetConfigurationResponse) XXX_DiscardUnknown()

func (*GetConfigurationResponse) XXX_Marshal Uses

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

func (*GetConfigurationResponse) XXX_Merge Uses

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

func (*GetConfigurationResponse) XXX_Size Uses

func (m *GetConfigurationResponse) XXX_Size() int

func (*GetConfigurationResponse) XXX_Unmarshal Uses

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

type GetGroupsRequest Uses

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 Uses

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

func (*GetGroupsRequest) GetUsername Uses

func (m *GetGroupsRequest) GetUsername() string

func (*GetGroupsRequest) Marshal Uses

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

func (*GetGroupsRequest) MarshalTo Uses

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

func (*GetGroupsRequest) ProtoMessage Uses

func (*GetGroupsRequest) ProtoMessage()

func (*GetGroupsRequest) Reset Uses

func (m *GetGroupsRequest) Reset()

func (*GetGroupsRequest) Size Uses

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

func (*GetGroupsRequest) String Uses

func (m *GetGroupsRequest) String() string

func (*GetGroupsRequest) Unmarshal Uses

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

func (*GetGroupsRequest) XXX_DiscardUnknown Uses

func (m *GetGroupsRequest) XXX_DiscardUnknown()

func (*GetGroupsRequest) XXX_Marshal Uses

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

func (*GetGroupsRequest) XXX_Merge Uses

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

func (*GetGroupsRequest) XXX_Size Uses

func (m *GetGroupsRequest) XXX_Size() int

func (*GetGroupsRequest) XXX_Unmarshal Uses

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

type GetGroupsResponse Uses

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 Uses

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

func (*GetGroupsResponse) GetGroups Uses

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

func (*GetGroupsResponse) Marshal Uses

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

func (*GetGroupsResponse) MarshalTo Uses

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

func (*GetGroupsResponse) ProtoMessage Uses

func (*GetGroupsResponse) ProtoMessage()

func (*GetGroupsResponse) Reset Uses

func (m *GetGroupsResponse) Reset()

func (*GetGroupsResponse) Size Uses

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

func (*GetGroupsResponse) String Uses

func (m *GetGroupsResponse) String() string

func (*GetGroupsResponse) Unmarshal Uses

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

func (*GetGroupsResponse) XXX_DiscardUnknown Uses

func (m *GetGroupsResponse) XXX_DiscardUnknown()

func (*GetGroupsResponse) XXX_Marshal Uses

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

func (*GetGroupsResponse) XXX_Merge Uses

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

func (*GetGroupsResponse) XXX_Size Uses

func (m *GetGroupsResponse) XXX_Size() int

func (*GetGroupsResponse) XXX_Unmarshal Uses

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

type GetOneTimePasswordRequest Uses

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 Uses

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

func (*GetOneTimePasswordRequest) GetSubject Uses

func (m *GetOneTimePasswordRequest) GetSubject() string

func (*GetOneTimePasswordRequest) Marshal Uses

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

func (*GetOneTimePasswordRequest) MarshalTo Uses

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

func (*GetOneTimePasswordRequest) ProtoMessage Uses

func (*GetOneTimePasswordRequest) ProtoMessage()

func (*GetOneTimePasswordRequest) Reset Uses

func (m *GetOneTimePasswordRequest) Reset()

func (*GetOneTimePasswordRequest) Size Uses

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

func (*GetOneTimePasswordRequest) String Uses

func (m *GetOneTimePasswordRequest) String() string

func (*GetOneTimePasswordRequest) Unmarshal Uses

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

func (*GetOneTimePasswordRequest) XXX_DiscardUnknown Uses

func (m *GetOneTimePasswordRequest) XXX_DiscardUnknown()

func (*GetOneTimePasswordRequest) XXX_Marshal Uses

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

func (*GetOneTimePasswordRequest) XXX_Merge Uses

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

func (*GetOneTimePasswordRequest) XXX_Size Uses

func (m *GetOneTimePasswordRequest) XXX_Size() int

func (*GetOneTimePasswordRequest) XXX_Unmarshal Uses

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

type GetOneTimePasswordResponse Uses

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 Uses

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

func (*GetOneTimePasswordResponse) GetCode Uses

func (m *GetOneTimePasswordResponse) GetCode() string

func (*GetOneTimePasswordResponse) Marshal Uses

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

func (*GetOneTimePasswordResponse) MarshalTo Uses

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

func (*GetOneTimePasswordResponse) ProtoMessage Uses

func (*GetOneTimePasswordResponse) ProtoMessage()

func (*GetOneTimePasswordResponse) Reset Uses

func (m *GetOneTimePasswordResponse) Reset()

func (*GetOneTimePasswordResponse) Size Uses

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

func (*GetOneTimePasswordResponse) String Uses

func (m *GetOneTimePasswordResponse) String() string

func (*GetOneTimePasswordResponse) Unmarshal Uses

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

func (*GetOneTimePasswordResponse) XXX_DiscardUnknown Uses

func (m *GetOneTimePasswordResponse) XXX_DiscardUnknown()

func (*GetOneTimePasswordResponse) XXX_Marshal Uses

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

func (*GetOneTimePasswordResponse) XXX_Merge Uses

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

func (*GetOneTimePasswordResponse) XXX_Size Uses

func (m *GetOneTimePasswordResponse) XXX_Size() int

func (*GetOneTimePasswordResponse) XXX_Unmarshal Uses

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

type GetScopeRequest Uses

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 Uses

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

func (*GetScopeRequest) GetRepos Uses

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

func (*GetScopeRequest) GetUsername Uses

func (m *GetScopeRequest) GetUsername() string

func (*GetScopeRequest) Marshal Uses

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

func (*GetScopeRequest) MarshalTo Uses

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

func (*GetScopeRequest) ProtoMessage Uses

func (*GetScopeRequest) ProtoMessage()

func (*GetScopeRequest) Reset Uses

func (m *GetScopeRequest) Reset()

func (*GetScopeRequest) Size Uses

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

func (*GetScopeRequest) String Uses

func (m *GetScopeRequest) String() string

func (*GetScopeRequest) Unmarshal Uses

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

func (*GetScopeRequest) XXX_DiscardUnknown Uses

func (m *GetScopeRequest) XXX_DiscardUnknown()

func (*GetScopeRequest) XXX_Marshal Uses

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

func (*GetScopeRequest) XXX_Merge Uses

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

func (*GetScopeRequest) XXX_Size Uses

func (m *GetScopeRequest) XXX_Size() int

func (*GetScopeRequest) XXX_Unmarshal Uses

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

type GetScopeResponse Uses

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 Uses

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

func (*GetScopeResponse) GetScopes Uses

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

func (*GetScopeResponse) Marshal Uses

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

func (*GetScopeResponse) MarshalTo Uses

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

func (*GetScopeResponse) ProtoMessage Uses

func (*GetScopeResponse) ProtoMessage()

func (*GetScopeResponse) Reset Uses

func (m *GetScopeResponse) Reset()

func (*GetScopeResponse) Size Uses

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

func (*GetScopeResponse) String Uses

func (m *GetScopeResponse) String() string

func (*GetScopeResponse) Unmarshal Uses

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

func (*GetScopeResponse) XXX_DiscardUnknown Uses

func (m *GetScopeResponse) XXX_DiscardUnknown()

func (*GetScopeResponse) XXX_Marshal Uses

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

func (*GetScopeResponse) XXX_Merge Uses

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

func (*GetScopeResponse) XXX_Size Uses

func (m *GetScopeResponse) XXX_Size() int

func (*GetScopeResponse) XXX_Unmarshal Uses

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

type GetUsersRequest Uses

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 Uses

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

func (*GetUsersRequest) GetGroup Uses

func (m *GetUsersRequest) GetGroup() string

func (*GetUsersRequest) Marshal Uses

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

func (*GetUsersRequest) MarshalTo Uses

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

func (*GetUsersRequest) ProtoMessage Uses

func (*GetUsersRequest) ProtoMessage()

func (*GetUsersRequest) Reset Uses

func (m *GetUsersRequest) Reset()

func (*GetUsersRequest) Size Uses

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

func (*GetUsersRequest) String Uses

func (m *GetUsersRequest) String() string

func (*GetUsersRequest) Unmarshal Uses

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

func (*GetUsersRequest) XXX_DiscardUnknown Uses

func (m *GetUsersRequest) XXX_DiscardUnknown()

func (*GetUsersRequest) XXX_Marshal Uses

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

func (*GetUsersRequest) XXX_Merge Uses

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

func (*GetUsersRequest) XXX_Size Uses

func (m *GetUsersRequest) XXX_Size() int

func (*GetUsersRequest) XXX_Unmarshal Uses

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

type GetUsersResponse Uses

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 Uses

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

func (*GetUsersResponse) GetUsernames Uses

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

func (*GetUsersResponse) Marshal Uses

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

func (*GetUsersResponse) MarshalTo Uses

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

func (*GetUsersResponse) ProtoMessage Uses

func (*GetUsersResponse) ProtoMessage()

func (*GetUsersResponse) Reset Uses

func (m *GetUsersResponse) Reset()

func (*GetUsersResponse) Size Uses

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

func (*GetUsersResponse) String Uses

func (m *GetUsersResponse) String() string

func (*GetUsersResponse) Unmarshal Uses

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

func (*GetUsersResponse) XXX_DiscardUnknown Uses

func (m *GetUsersResponse) XXX_DiscardUnknown()

func (*GetUsersResponse) XXX_Marshal Uses

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

func (*GetUsersResponse) XXX_Merge Uses

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

func (*GetUsersResponse) XXX_Size Uses

func (m *GetUsersResponse) XXX_Size() int

func (*GetUsersResponse) XXX_Unmarshal Uses

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

type Groups Uses

type Groups struct {
    Groups               map[string]bool `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*Groups) Descriptor Uses

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

func (*Groups) GetGroups Uses

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

func (*Groups) Marshal Uses

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

func (*Groups) MarshalTo Uses

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

func (*Groups) ProtoMessage Uses

func (*Groups) ProtoMessage()

func (*Groups) Reset Uses

func (m *Groups) Reset()

func (*Groups) Size Uses

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

func (*Groups) String Uses

func (m *Groups) String() string

func (*Groups) Unmarshal Uses

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

func (*Groups) XXX_DiscardUnknown Uses

func (m *Groups) XXX_DiscardUnknown()

func (*Groups) XXX_Marshal Uses

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

func (*Groups) XXX_Merge Uses

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

func (*Groups) XXX_Size Uses

func (m *Groups) XXX_Size() int

func (*Groups) XXX_Unmarshal Uses

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

type IDProvider Uses

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 Uses

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

func (*IDProvider) GetDescription Uses

func (m *IDProvider) GetDescription() string

func (*IDProvider) GetName Uses

func (m *IDProvider) GetName() string

func (*IDProvider) GetSAML Uses

func (m *IDProvider) GetSAML() *IDProvider_SAMLOptions

func (*IDProvider) Marshal Uses

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

func (*IDProvider) MarshalTo Uses

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

func (*IDProvider) ProtoMessage Uses

func (*IDProvider) ProtoMessage()

func (*IDProvider) Reset Uses

func (m *IDProvider) Reset()

func (*IDProvider) Size Uses

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

func (*IDProvider) String Uses

func (m *IDProvider) String() string

func (*IDProvider) Unmarshal Uses

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

func (*IDProvider) XXX_DiscardUnknown Uses

func (m *IDProvider) XXX_DiscardUnknown()

func (*IDProvider) XXX_Marshal Uses

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

func (*IDProvider) XXX_Merge Uses

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

func (*IDProvider) XXX_Size Uses

func (m *IDProvider) XXX_Size() int

func (*IDProvider) XXX_Unmarshal Uses

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

type IDProvider_SAMLOptions Uses

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 Uses

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

func (*IDProvider_SAMLOptions) GetGroupAttribute Uses

func (m *IDProvider_SAMLOptions) GetGroupAttribute() string

func (*IDProvider_SAMLOptions) GetMetadataURL Uses

func (m *IDProvider_SAMLOptions) GetMetadataURL() string

func (*IDProvider_SAMLOptions) GetMetadataXML Uses

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

func (*IDProvider_SAMLOptions) Marshal Uses

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

func (*IDProvider_SAMLOptions) MarshalTo Uses

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

func (*IDProvider_SAMLOptions) ProtoMessage Uses

func (*IDProvider_SAMLOptions) ProtoMessage()

func (*IDProvider_SAMLOptions) Reset Uses

func (m *IDProvider_SAMLOptions) Reset()

func (*IDProvider_SAMLOptions) Size Uses

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

func (*IDProvider_SAMLOptions) String Uses

func (m *IDProvider_SAMLOptions) String() string

func (*IDProvider_SAMLOptions) Unmarshal Uses

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

func (*IDProvider_SAMLOptions) XXX_DiscardUnknown Uses

func (m *IDProvider_SAMLOptions) XXX_DiscardUnknown()

func (*IDProvider_SAMLOptions) XXX_Marshal Uses

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

func (*IDProvider_SAMLOptions) XXX_Merge Uses

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

func (*IDProvider_SAMLOptions) XXX_Size Uses

func (m *IDProvider_SAMLOptions) XXX_Size() int

func (*IDProvider_SAMLOptions) XXX_Unmarshal Uses

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

type ModifyAdminsRequest Uses

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 Uses

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

func (*ModifyAdminsRequest) GetAdd Uses

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

func (*ModifyAdminsRequest) GetRemove Uses

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

func (*ModifyAdminsRequest) Marshal Uses

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

func (*ModifyAdminsRequest) MarshalTo Uses

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

func (*ModifyAdminsRequest) ProtoMessage Uses

func (*ModifyAdminsRequest) ProtoMessage()

func (*ModifyAdminsRequest) Reset Uses

func (m *ModifyAdminsRequest) Reset()

func (*ModifyAdminsRequest) Size Uses

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

func (*ModifyAdminsRequest) String Uses

func (m *ModifyAdminsRequest) String() string

func (*ModifyAdminsRequest) Unmarshal Uses

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

func (*ModifyAdminsRequest) XXX_DiscardUnknown Uses

func (m *ModifyAdminsRequest) XXX_DiscardUnknown()

func (*ModifyAdminsRequest) XXX_Marshal Uses

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

func (*ModifyAdminsRequest) XXX_Merge Uses

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

func (*ModifyAdminsRequest) XXX_Size Uses

func (m *ModifyAdminsRequest) XXX_Size() int

func (*ModifyAdminsRequest) XXX_Unmarshal Uses

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

type ModifyAdminsResponse Uses

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

func (*ModifyAdminsResponse) Descriptor Uses

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

func (*ModifyAdminsResponse) Marshal Uses

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

func (*ModifyAdminsResponse) MarshalTo Uses

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

func (*ModifyAdminsResponse) ProtoMessage Uses

func (*ModifyAdminsResponse) ProtoMessage()

func (*ModifyAdminsResponse) Reset Uses

func (m *ModifyAdminsResponse) Reset()

func (*ModifyAdminsResponse) Size Uses

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

func (*ModifyAdminsResponse) String Uses

func (m *ModifyAdminsResponse) String() string

func (*ModifyAdminsResponse) Unmarshal Uses

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

func (*ModifyAdminsResponse) XXX_DiscardUnknown Uses

func (m *ModifyAdminsResponse) XXX_DiscardUnknown()

func (*ModifyAdminsResponse) XXX_Marshal Uses

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

func (*ModifyAdminsResponse) XXX_Merge Uses

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

func (*ModifyAdminsResponse) XXX_Size Uses

func (m *ModifyAdminsResponse) XXX_Size() int

func (*ModifyAdminsResponse) XXX_Unmarshal Uses

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

type ModifyMembersRequest Uses

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 Uses

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

func (*ModifyMembersRequest) GetAdd Uses

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

func (*ModifyMembersRequest) GetGroup Uses

func (m *ModifyMembersRequest) GetGroup() string

func (*ModifyMembersRequest) GetRemove Uses

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

func (*ModifyMembersRequest) Marshal Uses

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

func (*ModifyMembersRequest) MarshalTo Uses

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

func (*ModifyMembersRequest) ProtoMessage Uses

func (*ModifyMembersRequest) ProtoMessage()

func (*ModifyMembersRequest) Reset Uses

func (m *ModifyMembersRequest) Reset()

func (*ModifyMembersRequest) Size Uses

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

func (*ModifyMembersRequest) String Uses

func (m *ModifyMembersRequest) String() string

func (*ModifyMembersRequest) Unmarshal Uses

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

func (*ModifyMembersRequest) XXX_DiscardUnknown Uses

func (m *ModifyMembersRequest) XXX_DiscardUnknown()

func (*ModifyMembersRequest) XXX_Marshal Uses

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

func (*ModifyMembersRequest) XXX_Merge Uses

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

func (*ModifyMembersRequest) XXX_Size Uses

func (m *ModifyMembersRequest) XXX_Size() int

func (*ModifyMembersRequest) XXX_Unmarshal Uses

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

type ModifyMembersResponse Uses

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

func (*ModifyMembersResponse) Descriptor Uses

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

func (*ModifyMembersResponse) Marshal Uses

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

func (*ModifyMembersResponse) MarshalTo Uses

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

func (*ModifyMembersResponse) ProtoMessage Uses

func (*ModifyMembersResponse) ProtoMessage()

func (*ModifyMembersResponse) Reset Uses

func (m *ModifyMembersResponse) Reset()

func (*ModifyMembersResponse) Size Uses

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

func (*ModifyMembersResponse) String Uses

func (m *ModifyMembersResponse) String() string

func (*ModifyMembersResponse) Unmarshal Uses

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

func (*ModifyMembersResponse) XXX_DiscardUnknown Uses

func (m *ModifyMembersResponse) XXX_DiscardUnknown()

func (*ModifyMembersResponse) XXX_Marshal Uses

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

func (*ModifyMembersResponse) XXX_Merge Uses

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

func (*ModifyMembersResponse) XXX_Size Uses

func (m *ModifyMembersResponse) XXX_Size() int

func (*ModifyMembersResponse) XXX_Unmarshal Uses

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

type OTPInfo Uses

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 Uses

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

func (*OTPInfo) GetSessionExpiration Uses

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

func (*OTPInfo) GetSubject Uses

func (m *OTPInfo) GetSubject() string

func (*OTPInfo) Marshal Uses

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

func (*OTPInfo) MarshalTo Uses

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

func (*OTPInfo) ProtoMessage Uses

func (*OTPInfo) ProtoMessage()

func (*OTPInfo) Reset Uses

func (m *OTPInfo) Reset()

func (*OTPInfo) Size Uses

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

func (*OTPInfo) String Uses

func (m *OTPInfo) String() string

func (*OTPInfo) Unmarshal Uses

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

func (*OTPInfo) XXX_DiscardUnknown Uses

func (m *OTPInfo) XXX_DiscardUnknown()

func (*OTPInfo) XXX_Marshal Uses

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

func (*OTPInfo) XXX_Merge Uses

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

func (*OTPInfo) XXX_Size Uses

func (m *OTPInfo) XXX_Size() int

func (*OTPInfo) XXX_Unmarshal Uses

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

type RevokeAuthTokenRequest Uses

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 Uses

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

func (*RevokeAuthTokenRequest) GetToken Uses

func (m *RevokeAuthTokenRequest) GetToken() string

func (*RevokeAuthTokenRequest) Marshal Uses

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

func (*RevokeAuthTokenRequest) MarshalTo Uses

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

func (*RevokeAuthTokenRequest) ProtoMessage Uses

func (*RevokeAuthTokenRequest) ProtoMessage()

func (*RevokeAuthTokenRequest) Reset Uses

func (m *RevokeAuthTokenRequest) Reset()

func (*RevokeAuthTokenRequest) Size Uses

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

func (*RevokeAuthTokenRequest) String Uses

func (m *RevokeAuthTokenRequest) String() string

func (*RevokeAuthTokenRequest) Unmarshal Uses

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

func (*RevokeAuthTokenRequest) XXX_DiscardUnknown Uses

func (m *RevokeAuthTokenRequest) XXX_DiscardUnknown()

func (*RevokeAuthTokenRequest) XXX_Marshal Uses

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

func (*RevokeAuthTokenRequest) XXX_Merge Uses

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

func (*RevokeAuthTokenRequest) XXX_Size Uses

func (m *RevokeAuthTokenRequest) XXX_Size() int

func (*RevokeAuthTokenRequest) XXX_Unmarshal Uses

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

type RevokeAuthTokenResponse Uses

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

func (*RevokeAuthTokenResponse) Descriptor Uses

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

func (*RevokeAuthTokenResponse) Marshal Uses

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

func (*RevokeAuthTokenResponse) MarshalTo Uses

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

func (*RevokeAuthTokenResponse) ProtoMessage Uses

func (*RevokeAuthTokenResponse) ProtoMessage()

func (*RevokeAuthTokenResponse) Reset Uses

func (m *RevokeAuthTokenResponse) Reset()

func (*RevokeAuthTokenResponse) Size Uses

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

func (*RevokeAuthTokenResponse) String Uses

func (m *RevokeAuthTokenResponse) String() string

func (*RevokeAuthTokenResponse) Unmarshal Uses

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

func (*RevokeAuthTokenResponse) XXX_DiscardUnknown Uses

func (m *RevokeAuthTokenResponse) XXX_DiscardUnknown()

func (*RevokeAuthTokenResponse) XXX_Marshal Uses

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

func (*RevokeAuthTokenResponse) XXX_Merge Uses

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

func (*RevokeAuthTokenResponse) XXX_Size Uses

func (m *RevokeAuthTokenResponse) XXX_Size() int

func (*RevokeAuthTokenResponse) XXX_Unmarshal Uses

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

type Scope Uses

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 Uses

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

func (Scope) String Uses

func (x Scope) String() string

type SetACLRequest Uses

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 Uses

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

func (*SetACLRequest) GetEntries Uses

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

func (*SetACLRequest) GetRepo Uses

func (m *SetACLRequest) GetRepo() string

func (*SetACLRequest) Marshal Uses

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

func (*SetACLRequest) MarshalTo Uses

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

func (*SetACLRequest) ProtoMessage Uses

func (*SetACLRequest) ProtoMessage()

func (*SetACLRequest) Reset Uses

func (m *SetACLRequest) Reset()

func (*SetACLRequest) Size Uses

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

func (*SetACLRequest) String Uses

func (m *SetACLRequest) String() string

func (*SetACLRequest) Unmarshal Uses

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

func (*SetACLRequest) XXX_DiscardUnknown Uses

func (m *SetACLRequest) XXX_DiscardUnknown()

func (*SetACLRequest) XXX_Marshal Uses

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

func (*SetACLRequest) XXX_Merge Uses

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

func (*SetACLRequest) XXX_Size Uses

func (m *SetACLRequest) XXX_Size() int

func (*SetACLRequest) XXX_Unmarshal Uses

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

type SetACLResponse Uses

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

func (*SetACLResponse) Descriptor Uses

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

func (*SetACLResponse) Marshal Uses

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

func (*SetACLResponse) MarshalTo Uses

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

func (*SetACLResponse) ProtoMessage Uses

func (*SetACLResponse) ProtoMessage()

func (*SetACLResponse) Reset Uses

func (m *SetACLResponse) Reset()

func (*SetACLResponse) Size Uses

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

func (*SetACLResponse) String Uses

func (m *SetACLResponse) String() string

func (*SetACLResponse) Unmarshal Uses

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

func (*SetACLResponse) XXX_DiscardUnknown Uses

func (m *SetACLResponse) XXX_DiscardUnknown()

func (*SetACLResponse) XXX_Marshal Uses

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

func (*SetACLResponse) XXX_Merge Uses

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

func (*SetACLResponse) XXX_Size Uses

func (m *SetACLResponse) XXX_Size() int

func (*SetACLResponse) XXX_Unmarshal Uses

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

type SetConfigurationRequest Uses

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 Uses

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

func (*SetConfigurationRequest) GetConfiguration Uses

func (m *SetConfigurationRequest) GetConfiguration() *AuthConfig

func (*SetConfigurationRequest) Marshal Uses

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

func (*SetConfigurationRequest) MarshalTo Uses

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

func (*SetConfigurationRequest) ProtoMessage Uses

func (*SetConfigurationRequest) ProtoMessage()

func (*SetConfigurationRequest) Reset Uses

func (m *SetConfigurationRequest) Reset()

func (*SetConfigurationRequest) Size Uses

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

func (*SetConfigurationRequest) String Uses

func (m *SetConfigurationRequest) String() string

func (*SetConfigurationRequest) Unmarshal Uses

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

func (*SetConfigurationRequest) XXX_DiscardUnknown Uses

func (m *SetConfigurationRequest) XXX_DiscardUnknown()

func (*SetConfigurationRequest) XXX_Marshal Uses

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

func (*SetConfigurationRequest) XXX_Merge Uses

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

func (*SetConfigurationRequest) XXX_Size Uses

func (m *SetConfigurationRequest) XXX_Size() int

func (*SetConfigurationRequest) XXX_Unmarshal Uses

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

type SetConfigurationResponse Uses

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

func (*SetConfigurationResponse) Descriptor Uses

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

func (*SetConfigurationResponse) Marshal Uses

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

func (*SetConfigurationResponse) MarshalTo Uses

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

func (*SetConfigurationResponse) ProtoMessage Uses

func (*SetConfigurationResponse) ProtoMessage()

func (*SetConfigurationResponse) Reset Uses

func (m *SetConfigurationResponse) Reset()

func (*SetConfigurationResponse) Size Uses

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

func (*SetConfigurationResponse) String Uses

func (m *SetConfigurationResponse) String() string

func (*SetConfigurationResponse) Unmarshal Uses

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

func (*SetConfigurationResponse) XXX_DiscardUnknown Uses

func (m *SetConfigurationResponse) XXX_DiscardUnknown()

func (*SetConfigurationResponse) XXX_Marshal Uses

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

func (*SetConfigurationResponse) XXX_Merge Uses

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

func (*SetConfigurationResponse) XXX_Size Uses

func (m *SetConfigurationResponse) XXX_Size() int

func (*SetConfigurationResponse) XXX_Unmarshal Uses

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

type SetGroupsForUserRequest Uses

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 Uses

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

func (*SetGroupsForUserRequest) GetGroups Uses

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

func (*SetGroupsForUserRequest) GetUsername Uses

func (m *SetGroupsForUserRequest) GetUsername() string

func (*SetGroupsForUserRequest) Marshal Uses

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

func (*SetGroupsForUserRequest) MarshalTo Uses

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

func (*SetGroupsForUserRequest) ProtoMessage Uses

func (*SetGroupsForUserRequest) ProtoMessage()

func (*SetGroupsForUserRequest) Reset Uses

func (m *SetGroupsForUserRequest) Reset()

func (*SetGroupsForUserRequest) Size Uses

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

func (*SetGroupsForUserRequest) String Uses

func (m *SetGroupsForUserRequest) String() string

func (*SetGroupsForUserRequest) Unmarshal Uses

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

func (*SetGroupsForUserRequest) XXX_DiscardUnknown Uses

func (m *SetGroupsForUserRequest) XXX_DiscardUnknown()

func (*SetGroupsForUserRequest) XXX_Marshal Uses

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

func (*SetGroupsForUserRequest) XXX_Merge Uses

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

func (*SetGroupsForUserRequest) XXX_Size Uses

func (m *SetGroupsForUserRequest) XXX_Size() int

func (*SetGroupsForUserRequest) XXX_Unmarshal Uses

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

type SetGroupsForUserResponse Uses

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

func (*SetGroupsForUserResponse) Descriptor Uses

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

func (*SetGroupsForUserResponse) Marshal Uses

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

func (*SetGroupsForUserResponse) MarshalTo Uses

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

func (*SetGroupsForUserResponse) ProtoMessage Uses

func (*SetGroupsForUserResponse) ProtoMessage()

func (*SetGroupsForUserResponse) Reset Uses

func (m *SetGroupsForUserResponse) Reset()

func (*SetGroupsForUserResponse) Size Uses

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

func (*SetGroupsForUserResponse) String Uses

func (m *SetGroupsForUserResponse) String() string

func (*SetGroupsForUserResponse) Unmarshal Uses

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

func (*SetGroupsForUserResponse) XXX_DiscardUnknown Uses

func (m *SetGroupsForUserResponse) XXX_DiscardUnknown()

func (*SetGroupsForUserResponse) XXX_Marshal Uses

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

func (*SetGroupsForUserResponse) XXX_Merge Uses

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

func (*SetGroupsForUserResponse) XXX_Size Uses

func (m *SetGroupsForUserResponse) XXX_Size() int

func (*SetGroupsForUserResponse) XXX_Unmarshal Uses

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

type SetScopeRequest Uses

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 Uses

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

func (*SetScopeRequest) GetRepo Uses

func (m *SetScopeRequest) GetRepo() string

func (*SetScopeRequest) GetScope Uses

func (m *SetScopeRequest) GetScope() Scope

func (*SetScopeRequest) GetUsername Uses

func (m *SetScopeRequest) GetUsername() string

func (*SetScopeRequest) Marshal Uses

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

func (*SetScopeRequest) MarshalTo Uses

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

func (*SetScopeRequest) ProtoMessage Uses

func (*SetScopeRequest) ProtoMessage()

func (*SetScopeRequest) Reset Uses

func (m *SetScopeRequest) Reset()

func (*SetScopeRequest) Size Uses

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

func (*SetScopeRequest) String Uses

func (m *SetScopeRequest) String() string

func (*SetScopeRequest) Unmarshal Uses

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

func (*SetScopeRequest) XXX_DiscardUnknown Uses

func (m *SetScopeRequest) XXX_DiscardUnknown()

func (*SetScopeRequest) XXX_Marshal Uses

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

func (*SetScopeRequest) XXX_Merge Uses

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

func (*SetScopeRequest) XXX_Size Uses

func (m *SetScopeRequest) XXX_Size() int

func (*SetScopeRequest) XXX_Unmarshal Uses

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

type SetScopeResponse Uses

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

func (*SetScopeResponse) Descriptor Uses

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

func (*SetScopeResponse) Marshal Uses

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

func (*SetScopeResponse) MarshalTo Uses

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

func (*SetScopeResponse) ProtoMessage Uses

func (*SetScopeResponse) ProtoMessage()

func (*SetScopeResponse) Reset Uses

func (m *SetScopeResponse) Reset()

func (*SetScopeResponse) Size Uses

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

func (*SetScopeResponse) String Uses

func (m *SetScopeResponse) String() string

func (*SetScopeResponse) Unmarshal Uses

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

func (*SetScopeResponse) XXX_DiscardUnknown Uses

func (m *SetScopeResponse) XXX_DiscardUnknown()

func (*SetScopeResponse) XXX_Marshal Uses

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

func (*SetScopeResponse) XXX_Merge Uses

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

func (*SetScopeResponse) XXX_Size Uses

func (m *SetScopeResponse) XXX_Size() int

func (*SetScopeResponse) XXX_Unmarshal Uses

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

type TokenInfo Uses

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 Uses

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

func (*TokenInfo) GetSource Uses

func (m *TokenInfo) GetSource() TokenInfo_TokenSource

func (*TokenInfo) GetSubject Uses

func (m *TokenInfo) GetSubject() string

func (*TokenInfo) Marshal Uses

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

func (*TokenInfo) MarshalTo Uses

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

func (*TokenInfo) ProtoMessage Uses

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) Reset Uses

func (m *TokenInfo) Reset()

func (*TokenInfo) Size Uses

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

func (*TokenInfo) String Uses

func (m *TokenInfo) String() string

func (*TokenInfo) Unmarshal Uses

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

func (*TokenInfo) XXX_DiscardUnknown Uses

func (m *TokenInfo) XXX_DiscardUnknown()

func (*TokenInfo) XXX_Marshal Uses

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

func (*TokenInfo) XXX_Merge Uses

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

func (*TokenInfo) XXX_Size Uses

func (m *TokenInfo) XXX_Size() int

func (*TokenInfo) XXX_Unmarshal Uses

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

type TokenInfo_TokenSource Uses

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 Uses

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

func (TokenInfo_TokenSource) String Uses

func (x TokenInfo_TokenSource) String() string

type UnimplementedAPIServer Uses

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) Activate Uses

func (*UnimplementedAPIServer) Activate(ctx context.Context, req *ActivateRequest) (*ActivateResponse, error)

func (*UnimplementedAPIServer) Authenticate Uses

func (*UnimplementedAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error)

func (*UnimplementedAPIServer) Authorize Uses

func (*UnimplementedAPIServer) Authorize(ctx context.Context, req *AuthorizeRequest) (*AuthorizeResponse, error)

func (*UnimplementedAPIServer) Deactivate Uses

func (*UnimplementedAPIServer) Deactivate(ctx context.Context, req *DeactivateRequest) (*DeactivateResponse, error)

func (*UnimplementedAPIServer) ExtendAuthToken Uses

func (*UnimplementedAPIServer) ExtendAuthToken(ctx context.Context, req *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error)

func (*UnimplementedAPIServer) GetACL Uses

func (*UnimplementedAPIServer) GetACL(ctx context.Context, req *GetACLRequest) (*GetACLResponse, error)

func (*UnimplementedAPIServer) GetAdmins Uses

func (*UnimplementedAPIServer) GetAdmins(ctx context.Context, req *GetAdminsRequest) (*GetAdminsResponse, error)

func (*UnimplementedAPIServer) GetAuthToken Uses

func (*UnimplementedAPIServer) GetAuthToken(ctx context.Context, req *GetAuthTokenRequest) (*GetAuthTokenResponse, error)

func (*UnimplementedAPIServer) GetConfiguration Uses

func (*UnimplementedAPIServer) GetConfiguration(ctx context.Context, req *GetConfigurationRequest) (*GetConfigurationResponse, error)

func (*UnimplementedAPIServer) GetGroups Uses

func (*UnimplementedAPIServer) GetGroups(ctx context.Context, req *GetGroupsRequest) (*GetGroupsResponse, error)

func (*UnimplementedAPIServer) GetOneTimePassword Uses

func (*UnimplementedAPIServer) GetOneTimePassword(ctx context.Context, req *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error)

func (*UnimplementedAPIServer) GetScope Uses

func (*UnimplementedAPIServer) GetScope(ctx context.Context, req *GetScopeRequest) (*GetScopeResponse, error)

func (*UnimplementedAPIServer) GetUsers Uses

func (*UnimplementedAPIServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error)

func (*UnimplementedAPIServer) ModifyAdmins Uses

func (*UnimplementedAPIServer) ModifyAdmins(ctx context.Context, req *ModifyAdminsRequest) (*ModifyAdminsResponse, error)

func (*UnimplementedAPIServer) ModifyMembers Uses

func (*UnimplementedAPIServer) ModifyMembers(ctx context.Context, req *ModifyMembersRequest) (*ModifyMembersResponse, error)

func (*UnimplementedAPIServer) RevokeAuthToken Uses

func (*UnimplementedAPIServer) RevokeAuthToken(ctx context.Context, req *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)

func (*UnimplementedAPIServer) SetACL Uses

func (*UnimplementedAPIServer) SetACL(ctx context.Context, req *SetACLRequest) (*SetACLResponse, error)

func (*UnimplementedAPIServer) SetConfiguration Uses

func (*UnimplementedAPIServer) SetConfiguration(ctx context.Context, req *SetConfigurationRequest) (*SetConfigurationResponse, error)

func (*UnimplementedAPIServer) SetGroupsForUser Uses

func (*UnimplementedAPIServer) SetGroupsForUser(ctx context.Context, req *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)

func (*UnimplementedAPIServer) SetScope Uses

func (*UnimplementedAPIServer) SetScope(ctx context.Context, req *SetScopeRequest) (*SetScopeResponse, error)

func (*UnimplementedAPIServer) WhoAmI Uses

func (*UnimplementedAPIServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error)

type Users Uses

type Users struct {
    Usernames            map[string]bool `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

func (*Users) Descriptor Uses

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

func (*Users) GetUsernames Uses

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

func (*Users) Marshal Uses

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

func (*Users) MarshalTo Uses

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

func (*Users) ProtoMessage Uses

func (*Users) ProtoMessage()

func (*Users) Reset Uses

func (m *Users) Reset()

func (*Users) Size Uses

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

func (*Users) String Uses

func (m *Users) String() string

func (*Users) Unmarshal Uses

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

func (*Users) XXX_DiscardUnknown Uses

func (m *Users) XXX_DiscardUnknown()

func (*Users) XXX_Marshal Uses

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

func (*Users) XXX_Merge Uses

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

func (*Users) XXX_Size Uses

func (m *Users) XXX_Size() int

func (*Users) XXX_Unmarshal Uses

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

type WhoAmIRequest Uses

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

func (*WhoAmIRequest) Descriptor Uses

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

func (*WhoAmIRequest) Marshal Uses

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

func (*WhoAmIRequest) MarshalTo Uses

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

func (*WhoAmIRequest) ProtoMessage Uses

func (*WhoAmIRequest) ProtoMessage()

func (*WhoAmIRequest) Reset Uses

func (m *WhoAmIRequest) Reset()

func (*WhoAmIRequest) Size Uses

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

func (*WhoAmIRequest) String Uses

func (m *WhoAmIRequest) String() string

func (*WhoAmIRequest) Unmarshal Uses

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

func (*WhoAmIRequest) XXX_DiscardUnknown Uses

func (m *WhoAmIRequest) XXX_DiscardUnknown()

func (*WhoAmIRequest) XXX_Marshal Uses

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

func (*WhoAmIRequest) XXX_Merge Uses

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

func (*WhoAmIRequest) XXX_Size Uses

func (m *WhoAmIRequest) XXX_Size() int

func (*WhoAmIRequest) XXX_Unmarshal Uses

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

type WhoAmIResponse Uses

type WhoAmIResponse struct {
    Username             string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
    IsAdmin              bool     `protobuf:"varint,2,opt,name=is_admin,json=isAdmin,proto3" json:"is_admin,omitempty"`
    TTL                  int64    `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*WhoAmIResponse) Descriptor Uses

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

func (*WhoAmIResponse) GetIsAdmin Uses

func (m *WhoAmIResponse) GetIsAdmin() bool

func (*WhoAmIResponse) GetTTL Uses

func (m *WhoAmIResponse) GetTTL() int64

func (*WhoAmIResponse) GetUsername Uses

func (m *WhoAmIResponse) GetUsername() string

func (*WhoAmIResponse) Marshal Uses

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

func (*WhoAmIResponse) MarshalTo Uses

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

func (*WhoAmIResponse) ProtoMessage Uses

func (*WhoAmIResponse) ProtoMessage()

func (*WhoAmIResponse) Reset Uses

func (m *WhoAmIResponse) Reset()

func (*WhoAmIResponse) Size Uses

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

func (*WhoAmIResponse) String Uses

func (m *WhoAmIResponse) String() string

func (*WhoAmIResponse) Unmarshal Uses

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

func (*WhoAmIResponse) XXX_DiscardUnknown Uses

func (m *WhoAmIResponse) XXX_DiscardUnknown()

func (*WhoAmIResponse) XXX_Marshal Uses

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

func (*WhoAmIResponse) XXX_Merge Uses

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

func (*WhoAmIResponse) XXX_Size Uses

func (m *WhoAmIResponse) XXX_Size() int

func (*WhoAmIResponse) XXX_Unmarshal Uses

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

Package auth imports 11 packages (graph) and is imported by 1 packages. Updated 2019-06-14. Refresh now. Tools for package owners.