Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type ACL
- func (*ACL) Descriptor() ([]byte, []int)
- func (m *ACL) GetEntries() map[string]Scope
- func (m *ACL) Marshal() (dAtA []byte, err error)
- func (m *ACL) MarshalTo(dAtA []byte) (int, error)
- func (m *ACL) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ACL) ProtoMessage()
- func (m *ACL) Reset()
- func (m *ACL) Size() (n int)
- func (m *ACL) String() string
- func (m *ACL) Unmarshal(dAtA []byte) error
- func (m *ACL) XXX_DiscardUnknown()
- func (m *ACL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ACL) XXX_Merge(src proto.Message)
- func (m *ACL) XXX_Size() int
- func (m *ACL) XXX_Unmarshal(b []byte) error
- type ACLEntry
- func (*ACLEntry) Descriptor() ([]byte, []int)
- func (m *ACLEntry) GetScope() Scope
- func (m *ACLEntry) GetUsername() string
- func (m *ACLEntry) Marshal() (dAtA []byte, err error)
- func (m *ACLEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *ACLEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ACLEntry) ProtoMessage()
- func (m *ACLEntry) Reset()
- func (m *ACLEntry) Size() (n int)
- func (m *ACLEntry) String() string
- func (m *ACLEntry) Unmarshal(dAtA []byte) error
- func (m *ACLEntry) XXX_DiscardUnknown()
- func (m *ACLEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ACLEntry) XXX_Merge(src proto.Message)
- func (m *ACLEntry) XXX_Size() int
- func (m *ACLEntry) XXX_Unmarshal(b []byte) error
- type APIClient
- type APIServer
- type ActivateRequest
- func (*ActivateRequest) Descriptor() ([]byte, []int)
- func (m *ActivateRequest) GetGitHubToken() string
- func (m *ActivateRequest) GetSubject() string
- func (m *ActivateRequest) Marshal() (dAtA []byte, err error)
- func (m *ActivateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivateRequest) ProtoMessage()
- func (m *ActivateRequest) Reset()
- func (m *ActivateRequest) Size() (n int)
- func (m *ActivateRequest) String() string
- func (m *ActivateRequest) Unmarshal(dAtA []byte) error
- func (m *ActivateRequest) XXX_DiscardUnknown()
- func (m *ActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateRequest) XXX_Merge(src proto.Message)
- func (m *ActivateRequest) XXX_Size() int
- func (m *ActivateRequest) XXX_Unmarshal(b []byte) error
- type ActivateResponse
- func (*ActivateResponse) Descriptor() ([]byte, []int)
- func (m *ActivateResponse) GetPachToken() string
- func (m *ActivateResponse) Marshal() (dAtA []byte, err error)
- func (m *ActivateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActivateResponse) ProtoMessage()
- func (m *ActivateResponse) Reset()
- func (m *ActivateResponse) Size() (n int)
- func (m *ActivateResponse) String() string
- func (m *ActivateResponse) Unmarshal(dAtA []byte) error
- func (m *ActivateResponse) XXX_DiscardUnknown()
- func (m *ActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActivateResponse) XXX_Merge(src proto.Message)
- func (m *ActivateResponse) XXX_Size() int
- func (m *ActivateResponse) XXX_Unmarshal(b []byte) error
- type AuthConfig
- func (*AuthConfig) Descriptor() ([]byte, []int)
- func (m *AuthConfig) GetIDProviders() []*IDProvider
- func (m *AuthConfig) GetLiveConfigVersion() int64
- func (m *AuthConfig) GetSAMLServiceOptions() *AuthConfig_SAMLServiceOptions
- func (m *AuthConfig) Marshal() (dAtA []byte, err error)
- func (m *AuthConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthConfig) ProtoMessage()
- func (m *AuthConfig) Reset()
- func (m *AuthConfig) Size() (n int)
- func (m *AuthConfig) String() string
- func (m *AuthConfig) Unmarshal(dAtA []byte) error
- func (m *AuthConfig) XXX_DiscardUnknown()
- func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthConfig) XXX_Merge(src proto.Message)
- func (m *AuthConfig) XXX_Size() int
- func (m *AuthConfig) XXX_Unmarshal(b []byte) error
- type AuthConfig_SAMLServiceOptions
- func (*AuthConfig_SAMLServiceOptions) Descriptor() ([]byte, []int)
- func (m *AuthConfig_SAMLServiceOptions) GetACSURL() string
- func (m *AuthConfig_SAMLServiceOptions) GetDashURL() string
- func (m *AuthConfig_SAMLServiceOptions) GetDebugLogging() bool
- func (m *AuthConfig_SAMLServiceOptions) GetMetadataURL() string
- func (m *AuthConfig_SAMLServiceOptions) GetSessionDuration() string
- func (m *AuthConfig_SAMLServiceOptions) Marshal() (dAtA []byte, err error)
- func (m *AuthConfig_SAMLServiceOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthConfig_SAMLServiceOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthConfig_SAMLServiceOptions) ProtoMessage()
- func (m *AuthConfig_SAMLServiceOptions) Reset()
- func (m *AuthConfig_SAMLServiceOptions) Size() (n int)
- func (m *AuthConfig_SAMLServiceOptions) String() string
- func (m *AuthConfig_SAMLServiceOptions) Unmarshal(dAtA []byte) error
- func (m *AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown()
- func (m *AuthConfig_SAMLServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthConfig_SAMLServiceOptions) XXX_Merge(src proto.Message)
- func (m *AuthConfig_SAMLServiceOptions) XXX_Size() int
- func (m *AuthConfig_SAMLServiceOptions) XXX_Unmarshal(b []byte) error
- type AuthenticateRequest
- func (*AuthenticateRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticateRequest) GetGitHubToken() string
- func (m *AuthenticateRequest) GetOneTimePassword() string
- func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error)
- func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticateRequest) ProtoMessage()
- func (m *AuthenticateRequest) Reset()
- func (m *AuthenticateRequest) Size() (n int)
- func (m *AuthenticateRequest) String() string
- func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error
- func (m *AuthenticateRequest) XXX_DiscardUnknown()
- func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
- func (m *AuthenticateRequest) XXX_Size() int
- func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
- type AuthenticateResponse
- func (*AuthenticateResponse) Descriptor() ([]byte, []int)
- func (m *AuthenticateResponse) GetPachToken() string
- func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error)
- func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthenticateResponse) ProtoMessage()
- func (m *AuthenticateResponse) Reset()
- func (m *AuthenticateResponse) Size() (n int)
- func (m *AuthenticateResponse) String() string
- func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error
- func (m *AuthenticateResponse) XXX_DiscardUnknown()
- func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
- func (m *AuthenticateResponse) XXX_Size() int
- func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
- type AuthorizeRequest
- func (*AuthorizeRequest) Descriptor() ([]byte, []int)
- func (m *AuthorizeRequest) GetRepo() string
- func (m *AuthorizeRequest) GetScope() Scope
- func (m *AuthorizeRequest) Marshal() (dAtA []byte, err error)
- func (m *AuthorizeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthorizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthorizeRequest) ProtoMessage()
- func (m *AuthorizeRequest) Reset()
- func (m *AuthorizeRequest) Size() (n int)
- func (m *AuthorizeRequest) String() string
- func (m *AuthorizeRequest) Unmarshal(dAtA []byte) error
- func (m *AuthorizeRequest) XXX_DiscardUnknown()
- func (m *AuthorizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeRequest) XXX_Merge(src proto.Message)
- func (m *AuthorizeRequest) XXX_Size() int
- func (m *AuthorizeRequest) XXX_Unmarshal(b []byte) error
- type AuthorizeResponse
- func (*AuthorizeResponse) Descriptor() ([]byte, []int)
- func (m *AuthorizeResponse) GetAuthorized() bool
- func (m *AuthorizeResponse) Marshal() (dAtA []byte, err error)
- func (m *AuthorizeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthorizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthorizeResponse) ProtoMessage()
- func (m *AuthorizeResponse) Reset()
- func (m *AuthorizeResponse) Size() (n int)
- func (m *AuthorizeResponse) String() string
- func (m *AuthorizeResponse) Unmarshal(dAtA []byte) error
- func (m *AuthorizeResponse) XXX_DiscardUnknown()
- func (m *AuthorizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthorizeResponse) XXX_Merge(src proto.Message)
- func (m *AuthorizeResponse) XXX_Size() int
- func (m *AuthorizeResponse) XXX_Unmarshal(b []byte) error
- type DeactivateRequest
- func (*DeactivateRequest) Descriptor() ([]byte, []int)
- func (m *DeactivateRequest) Marshal() (dAtA []byte, err error)
- func (m *DeactivateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeactivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeactivateRequest) ProtoMessage()
- func (m *DeactivateRequest) Reset()
- func (m *DeactivateRequest) Size() (n int)
- func (m *DeactivateRequest) String() string
- func (m *DeactivateRequest) Unmarshal(dAtA []byte) error
- func (m *DeactivateRequest) XXX_DiscardUnknown()
- func (m *DeactivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeactivateRequest) XXX_Merge(src proto.Message)
- func (m *DeactivateRequest) XXX_Size() int
- func (m *DeactivateRequest) XXX_Unmarshal(b []byte) error
- type DeactivateResponse
- func (*DeactivateResponse) Descriptor() ([]byte, []int)
- func (m *DeactivateResponse) Marshal() (dAtA []byte, err error)
- func (m *DeactivateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeactivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeactivateResponse) ProtoMessage()
- func (m *DeactivateResponse) Reset()
- func (m *DeactivateResponse) Size() (n int)
- func (m *DeactivateResponse) String() string
- func (m *DeactivateResponse) Unmarshal(dAtA []byte) error
- func (m *DeactivateResponse) XXX_DiscardUnknown()
- func (m *DeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeactivateResponse) XXX_Merge(src proto.Message)
- func (m *DeactivateResponse) XXX_Size() int
- func (m *DeactivateResponse) XXX_Unmarshal(b []byte) error
- type ExtendAuthTokenRequest
- func (*ExtendAuthTokenRequest) Descriptor() ([]byte, []int)
- func (m *ExtendAuthTokenRequest) GetTTL() int64
- func (m *ExtendAuthTokenRequest) GetToken() string
- func (m *ExtendAuthTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *ExtendAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtendAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtendAuthTokenRequest) ProtoMessage()
- func (m *ExtendAuthTokenRequest) Reset()
- func (m *ExtendAuthTokenRequest) Size() (n int)
- func (m *ExtendAuthTokenRequest) String() string
- func (m *ExtendAuthTokenRequest) Unmarshal(dAtA []byte) error
- func (m *ExtendAuthTokenRequest) XXX_DiscardUnknown()
- func (m *ExtendAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendAuthTokenRequest) XXX_Merge(src proto.Message)
- func (m *ExtendAuthTokenRequest) XXX_Size() int
- func (m *ExtendAuthTokenRequest) XXX_Unmarshal(b []byte) error
- type ExtendAuthTokenResponse
- func (*ExtendAuthTokenResponse) Descriptor() ([]byte, []int)
- func (m *ExtendAuthTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *ExtendAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ExtendAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExtendAuthTokenResponse) ProtoMessage()
- func (m *ExtendAuthTokenResponse) Reset()
- func (m *ExtendAuthTokenResponse) Size() (n int)
- func (m *ExtendAuthTokenResponse) String() string
- func (m *ExtendAuthTokenResponse) Unmarshal(dAtA []byte) error
- func (m *ExtendAuthTokenResponse) XXX_DiscardUnknown()
- func (m *ExtendAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExtendAuthTokenResponse) XXX_Merge(src proto.Message)
- func (m *ExtendAuthTokenResponse) XXX_Size() int
- func (m *ExtendAuthTokenResponse) XXX_Unmarshal(b []byte) error
- type GetACLRequest
- func (*GetACLRequest) Descriptor() ([]byte, []int)
- func (m *GetACLRequest) GetRepo() string
- func (m *GetACLRequest) Marshal() (dAtA []byte, err error)
- func (m *GetACLRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetACLRequest) ProtoMessage()
- func (m *GetACLRequest) Reset()
- func (m *GetACLRequest) Size() (n int)
- func (m *GetACLRequest) String() string
- func (m *GetACLRequest) Unmarshal(dAtA []byte) error
- func (m *GetACLRequest) XXX_DiscardUnknown()
- func (m *GetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetACLRequest) XXX_Merge(src proto.Message)
- func (m *GetACLRequest) XXX_Size() int
- func (m *GetACLRequest) XXX_Unmarshal(b []byte) error
- type GetACLResponse
- func (*GetACLResponse) Descriptor() ([]byte, []int)
- func (m *GetACLResponse) GetEntries() []*ACLEntry
- func (m *GetACLResponse) GetRobotEntries() []*ACLEntry
- func (m *GetACLResponse) Marshal() (dAtA []byte, err error)
- func (m *GetACLResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetACLResponse) ProtoMessage()
- func (m *GetACLResponse) Reset()
- func (m *GetACLResponse) Size() (n int)
- func (m *GetACLResponse) String() string
- func (m *GetACLResponse) Unmarshal(dAtA []byte) error
- func (m *GetACLResponse) XXX_DiscardUnknown()
- func (m *GetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetACLResponse) XXX_Merge(src proto.Message)
- func (m *GetACLResponse) XXX_Size() int
- func (m *GetACLResponse) XXX_Unmarshal(b []byte) error
- type GetAdminsRequest
- func (*GetAdminsRequest) Descriptor() ([]byte, []int)
- func (m *GetAdminsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAdminsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAdminsRequest) ProtoMessage()
- func (m *GetAdminsRequest) Reset()
- func (m *GetAdminsRequest) Size() (n int)
- func (m *GetAdminsRequest) String() string
- func (m *GetAdminsRequest) Unmarshal(dAtA []byte) error
- func (m *GetAdminsRequest) XXX_DiscardUnknown()
- func (m *GetAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAdminsRequest) XXX_Merge(src proto.Message)
- func (m *GetAdminsRequest) XXX_Size() int
- func (m *GetAdminsRequest) XXX_Unmarshal(b []byte) error
- type GetAdminsResponse
- func (*GetAdminsResponse) Descriptor() ([]byte, []int)
- func (m *GetAdminsResponse) GetAdmins() []string
- func (m *GetAdminsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAdminsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAdminsResponse) ProtoMessage()
- func (m *GetAdminsResponse) Reset()
- func (m *GetAdminsResponse) Size() (n int)
- func (m *GetAdminsResponse) String() string
- func (m *GetAdminsResponse) Unmarshal(dAtA []byte) error
- func (m *GetAdminsResponse) XXX_DiscardUnknown()
- func (m *GetAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAdminsResponse) XXX_Merge(src proto.Message)
- func (m *GetAdminsResponse) XXX_Size() int
- func (m *GetAdminsResponse) XXX_Unmarshal(b []byte) error
- type GetAuthTokenRequest
- func (*GetAuthTokenRequest) Descriptor() ([]byte, []int)
- func (m *GetAuthTokenRequest) GetSubject() string
- func (m *GetAuthTokenRequest) GetTTL() int64
- func (m *GetAuthTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *GetAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthTokenRequest) ProtoMessage()
- func (m *GetAuthTokenRequest) Reset()
- func (m *GetAuthTokenRequest) Size() (n int)
- func (m *GetAuthTokenRequest) String() string
- func (m *GetAuthTokenRequest) Unmarshal(dAtA []byte) error
- func (m *GetAuthTokenRequest) XXX_DiscardUnknown()
- func (m *GetAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthTokenRequest) XXX_Merge(src proto.Message)
- func (m *GetAuthTokenRequest) XXX_Size() int
- func (m *GetAuthTokenRequest) XXX_Unmarshal(b []byte) error
- type GetAuthTokenResponse
- func (*GetAuthTokenResponse) Descriptor() ([]byte, []int)
- func (m *GetAuthTokenResponse) GetSubject() string
- func (m *GetAuthTokenResponse) GetToken() string
- func (m *GetAuthTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *GetAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetAuthTokenResponse) ProtoMessage()
- func (m *GetAuthTokenResponse) Reset()
- func (m *GetAuthTokenResponse) Size() (n int)
- func (m *GetAuthTokenResponse) String() string
- func (m *GetAuthTokenResponse) Unmarshal(dAtA []byte) error
- func (m *GetAuthTokenResponse) XXX_DiscardUnknown()
- func (m *GetAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAuthTokenResponse) XXX_Merge(src proto.Message)
- func (m *GetAuthTokenResponse) XXX_Size() int
- func (m *GetAuthTokenResponse) XXX_Unmarshal(b []byte) error
- type GetConfigurationRequest
- func (*GetConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *GetConfigurationRequest) Marshal() (dAtA []byte, err error)
- func (m *GetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetConfigurationRequest) ProtoMessage()
- func (m *GetConfigurationRequest) Reset()
- func (m *GetConfigurationRequest) Size() (n int)
- func (m *GetConfigurationRequest) String() string
- func (m *GetConfigurationRequest) Unmarshal(dAtA []byte) error
- func (m *GetConfigurationRequest) XXX_DiscardUnknown()
- func (m *GetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *GetConfigurationRequest) XXX_Size() int
- func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error
- type GetConfigurationResponse
- func (*GetConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *GetConfigurationResponse) GetConfiguration() *AuthConfig
- func (m *GetConfigurationResponse) Marshal() (dAtA []byte, err error)
- func (m *GetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetConfigurationResponse) ProtoMessage()
- func (m *GetConfigurationResponse) Reset()
- func (m *GetConfigurationResponse) Size() (n int)
- func (m *GetConfigurationResponse) String() string
- func (m *GetConfigurationResponse) Unmarshal(dAtA []byte) error
- func (m *GetConfigurationResponse) XXX_DiscardUnknown()
- func (m *GetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *GetConfigurationResponse) XXX_Size() int
- func (m *GetConfigurationResponse) XXX_Unmarshal(b []byte) error
- type GetGroupsRequest
- func (*GetGroupsRequest) Descriptor() ([]byte, []int)
- func (m *GetGroupsRequest) GetUsername() string
- func (m *GetGroupsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetGroupsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetGroupsRequest) ProtoMessage()
- func (m *GetGroupsRequest) Reset()
- func (m *GetGroupsRequest) Size() (n int)
- func (m *GetGroupsRequest) String() string
- func (m *GetGroupsRequest) Unmarshal(dAtA []byte) error
- func (m *GetGroupsRequest) XXX_DiscardUnknown()
- func (m *GetGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGroupsRequest) XXX_Merge(src proto.Message)
- func (m *GetGroupsRequest) XXX_Size() int
- func (m *GetGroupsRequest) XXX_Unmarshal(b []byte) error
- type GetGroupsResponse
- func (*GetGroupsResponse) Descriptor() ([]byte, []int)
- func (m *GetGroupsResponse) GetGroups() []string
- func (m *GetGroupsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetGroupsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetGroupsResponse) ProtoMessage()
- func (m *GetGroupsResponse) Reset()
- func (m *GetGroupsResponse) Size() (n int)
- func (m *GetGroupsResponse) String() string
- func (m *GetGroupsResponse) Unmarshal(dAtA []byte) error
- func (m *GetGroupsResponse) XXX_DiscardUnknown()
- func (m *GetGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGroupsResponse) XXX_Merge(src proto.Message)
- func (m *GetGroupsResponse) XXX_Size() int
- func (m *GetGroupsResponse) XXX_Unmarshal(b []byte) error
- type GetOneTimePasswordRequest
- func (*GetOneTimePasswordRequest) Descriptor() ([]byte, []int)
- func (m *GetOneTimePasswordRequest) GetSubject() string
- func (m *GetOneTimePasswordRequest) Marshal() (dAtA []byte, err error)
- func (m *GetOneTimePasswordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetOneTimePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetOneTimePasswordRequest) ProtoMessage()
- func (m *GetOneTimePasswordRequest) Reset()
- func (m *GetOneTimePasswordRequest) Size() (n int)
- func (m *GetOneTimePasswordRequest) String() string
- func (m *GetOneTimePasswordRequest) Unmarshal(dAtA []byte) error
- func (m *GetOneTimePasswordRequest) XXX_DiscardUnknown()
- func (m *GetOneTimePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetOneTimePasswordRequest) XXX_Merge(src proto.Message)
- func (m *GetOneTimePasswordRequest) XXX_Size() int
- func (m *GetOneTimePasswordRequest) XXX_Unmarshal(b []byte) error
- type GetOneTimePasswordResponse
- func (*GetOneTimePasswordResponse) Descriptor() ([]byte, []int)
- func (m *GetOneTimePasswordResponse) GetCode() string
- func (m *GetOneTimePasswordResponse) Marshal() (dAtA []byte, err error)
- func (m *GetOneTimePasswordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetOneTimePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetOneTimePasswordResponse) ProtoMessage()
- func (m *GetOneTimePasswordResponse) Reset()
- func (m *GetOneTimePasswordResponse) Size() (n int)
- func (m *GetOneTimePasswordResponse) String() string
- func (m *GetOneTimePasswordResponse) Unmarshal(dAtA []byte) error
- func (m *GetOneTimePasswordResponse) XXX_DiscardUnknown()
- func (m *GetOneTimePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetOneTimePasswordResponse) XXX_Merge(src proto.Message)
- func (m *GetOneTimePasswordResponse) XXX_Size() int
- func (m *GetOneTimePasswordResponse) XXX_Unmarshal(b []byte) error
- type GetScopeRequest
- func (*GetScopeRequest) Descriptor() ([]byte, []int)
- func (m *GetScopeRequest) GetRepos() []string
- func (m *GetScopeRequest) GetUsername() string
- func (m *GetScopeRequest) Marshal() (dAtA []byte, err error)
- func (m *GetScopeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetScopeRequest) ProtoMessage()
- func (m *GetScopeRequest) Reset()
- func (m *GetScopeRequest) Size() (n int)
- func (m *GetScopeRequest) String() string
- func (m *GetScopeRequest) Unmarshal(dAtA []byte) error
- func (m *GetScopeRequest) XXX_DiscardUnknown()
- func (m *GetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetScopeRequest) XXX_Merge(src proto.Message)
- func (m *GetScopeRequest) XXX_Size() int
- func (m *GetScopeRequest) XXX_Unmarshal(b []byte) error
- type GetScopeResponse
- func (*GetScopeResponse) Descriptor() ([]byte, []int)
- func (m *GetScopeResponse) GetScopes() []Scope
- func (m *GetScopeResponse) Marshal() (dAtA []byte, err error)
- func (m *GetScopeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetScopeResponse) ProtoMessage()
- func (m *GetScopeResponse) Reset()
- func (m *GetScopeResponse) Size() (n int)
- func (m *GetScopeResponse) String() string
- func (m *GetScopeResponse) Unmarshal(dAtA []byte) error
- func (m *GetScopeResponse) XXX_DiscardUnknown()
- func (m *GetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetScopeResponse) XXX_Merge(src proto.Message)
- func (m *GetScopeResponse) XXX_Size() int
- func (m *GetScopeResponse) XXX_Unmarshal(b []byte) error
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)
- func (m *GetUsersRequest) GetGroup() string
- func (m *GetUsersRequest) Marshal() (dAtA []byte, err error)
- func (m *GetUsersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUsersRequest) ProtoMessage()
- func (m *GetUsersRequest) Reset()
- func (m *GetUsersRequest) Size() (n int)
- func (m *GetUsersRequest) String() string
- func (m *GetUsersRequest) Unmarshal(dAtA []byte) error
- func (m *GetUsersRequest) XXX_DiscardUnknown()
- func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUsersRequest) XXX_Merge(src proto.Message)
- func (m *GetUsersRequest) XXX_Size() int
- func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
- type GetUsersResponse
- func (*GetUsersResponse) Descriptor() ([]byte, []int)
- func (m *GetUsersResponse) GetUsernames() []string
- func (m *GetUsersResponse) Marshal() (dAtA []byte, err error)
- func (m *GetUsersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetUsersResponse) ProtoMessage()
- func (m *GetUsersResponse) Reset()
- func (m *GetUsersResponse) Size() (n int)
- func (m *GetUsersResponse) String() string
- func (m *GetUsersResponse) Unmarshal(dAtA []byte) error
- func (m *GetUsersResponse) XXX_DiscardUnknown()
- func (m *GetUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetUsersResponse) XXX_Merge(src proto.Message)
- func (m *GetUsersResponse) XXX_Size() int
- func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error
- type Groups
- func (*Groups) Descriptor() ([]byte, []int)
- func (m *Groups) GetGroups() map[string]bool
- func (m *Groups) Marshal() (dAtA []byte, err error)
- func (m *Groups) MarshalTo(dAtA []byte) (int, error)
- func (m *Groups) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Groups) ProtoMessage()
- func (m *Groups) Reset()
- func (m *Groups) Size() (n int)
- func (m *Groups) String() string
- func (m *Groups) Unmarshal(dAtA []byte) error
- func (m *Groups) XXX_DiscardUnknown()
- func (m *Groups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Groups) XXX_Merge(src proto.Message)
- func (m *Groups) XXX_Size() int
- func (m *Groups) XXX_Unmarshal(b []byte) error
- type IDProvider
- func (*IDProvider) Descriptor() ([]byte, []int)
- func (m *IDProvider) GetDescription() string
- func (m *IDProvider) GetName() string
- func (m *IDProvider) GetSAML() *IDProvider_SAMLOptions
- func (m *IDProvider) Marshal() (dAtA []byte, err error)
- func (m *IDProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *IDProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDProvider) ProtoMessage()
- func (m *IDProvider) Reset()
- func (m *IDProvider) Size() (n int)
- func (m *IDProvider) String() string
- func (m *IDProvider) Unmarshal(dAtA []byte) error
- func (m *IDProvider) XXX_DiscardUnknown()
- func (m *IDProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDProvider) XXX_Merge(src proto.Message)
- func (m *IDProvider) XXX_Size() int
- func (m *IDProvider) XXX_Unmarshal(b []byte) error
- type IDProvider_SAMLOptions
- func (*IDProvider_SAMLOptions) Descriptor() ([]byte, []int)
- func (m *IDProvider_SAMLOptions) GetGroupAttribute() string
- func (m *IDProvider_SAMLOptions) GetMetadataURL() string
- func (m *IDProvider_SAMLOptions) GetMetadataXML() []byte
- func (m *IDProvider_SAMLOptions) Marshal() (dAtA []byte, err error)
- func (m *IDProvider_SAMLOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *IDProvider_SAMLOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IDProvider_SAMLOptions) ProtoMessage()
- func (m *IDProvider_SAMLOptions) Reset()
- func (m *IDProvider_SAMLOptions) Size() (n int)
- func (m *IDProvider_SAMLOptions) String() string
- func (m *IDProvider_SAMLOptions) Unmarshal(dAtA []byte) error
- func (m *IDProvider_SAMLOptions) XXX_DiscardUnknown()
- func (m *IDProvider_SAMLOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDProvider_SAMLOptions) XXX_Merge(src proto.Message)
- func (m *IDProvider_SAMLOptions) XXX_Size() int
- func (m *IDProvider_SAMLOptions) XXX_Unmarshal(b []byte) error
- type ModifyAdminsRequest
- func (*ModifyAdminsRequest) Descriptor() ([]byte, []int)
- func (m *ModifyAdminsRequest) GetAdd() []string
- func (m *ModifyAdminsRequest) GetRemove() []string
- func (m *ModifyAdminsRequest) Marshal() (dAtA []byte, err error)
- func (m *ModifyAdminsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModifyAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModifyAdminsRequest) ProtoMessage()
- func (m *ModifyAdminsRequest) Reset()
- func (m *ModifyAdminsRequest) Size() (n int)
- func (m *ModifyAdminsRequest) String() string
- func (m *ModifyAdminsRequest) Unmarshal(dAtA []byte) error
- func (m *ModifyAdminsRequest) XXX_DiscardUnknown()
- func (m *ModifyAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyAdminsRequest) XXX_Merge(src proto.Message)
- func (m *ModifyAdminsRequest) XXX_Size() int
- func (m *ModifyAdminsRequest) XXX_Unmarshal(b []byte) error
- type ModifyAdminsResponse
- func (*ModifyAdminsResponse) Descriptor() ([]byte, []int)
- func (m *ModifyAdminsResponse) Marshal() (dAtA []byte, err error)
- func (m *ModifyAdminsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ModifyAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModifyAdminsResponse) ProtoMessage()
- func (m *ModifyAdminsResponse) Reset()
- func (m *ModifyAdminsResponse) Size() (n int)
- func (m *ModifyAdminsResponse) String() string
- func (m *ModifyAdminsResponse) Unmarshal(dAtA []byte) error
- func (m *ModifyAdminsResponse) XXX_DiscardUnknown()
- func (m *ModifyAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyAdminsResponse) XXX_Merge(src proto.Message)
- func (m *ModifyAdminsResponse) XXX_Size() int
- func (m *ModifyAdminsResponse) XXX_Unmarshal(b []byte) error
- type ModifyMembersRequest
- func (*ModifyMembersRequest) Descriptor() ([]byte, []int)
- func (m *ModifyMembersRequest) GetAdd() []string
- func (m *ModifyMembersRequest) GetGroup() string
- func (m *ModifyMembersRequest) GetRemove() []string
- func (m *ModifyMembersRequest) Marshal() (dAtA []byte, err error)
- func (m *ModifyMembersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ModifyMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModifyMembersRequest) ProtoMessage()
- func (m *ModifyMembersRequest) Reset()
- func (m *ModifyMembersRequest) Size() (n int)
- func (m *ModifyMembersRequest) String() string
- func (m *ModifyMembersRequest) Unmarshal(dAtA []byte) error
- func (m *ModifyMembersRequest) XXX_DiscardUnknown()
- func (m *ModifyMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyMembersRequest) XXX_Merge(src proto.Message)
- func (m *ModifyMembersRequest) XXX_Size() int
- func (m *ModifyMembersRequest) XXX_Unmarshal(b []byte) error
- type ModifyMembersResponse
- func (*ModifyMembersResponse) Descriptor() ([]byte, []int)
- func (m *ModifyMembersResponse) Marshal() (dAtA []byte, err error)
- func (m *ModifyMembersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ModifyMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModifyMembersResponse) ProtoMessage()
- func (m *ModifyMembersResponse) Reset()
- func (m *ModifyMembersResponse) Size() (n int)
- func (m *ModifyMembersResponse) String() string
- func (m *ModifyMembersResponse) Unmarshal(dAtA []byte) error
- func (m *ModifyMembersResponse) XXX_DiscardUnknown()
- func (m *ModifyMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModifyMembersResponse) XXX_Merge(src proto.Message)
- func (m *ModifyMembersResponse) XXX_Size() int
- func (m *ModifyMembersResponse) XXX_Unmarshal(b []byte) error
- type OTPInfo
- func (*OTPInfo) Descriptor() ([]byte, []int)
- func (m *OTPInfo) GetSessionExpiration() *types.Timestamp
- func (m *OTPInfo) GetSubject() string
- func (m *OTPInfo) Marshal() (dAtA []byte, err error)
- func (m *OTPInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *OTPInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OTPInfo) ProtoMessage()
- func (m *OTPInfo) Reset()
- func (m *OTPInfo) Size() (n int)
- func (m *OTPInfo) String() string
- func (m *OTPInfo) Unmarshal(dAtA []byte) error
- func (m *OTPInfo) XXX_DiscardUnknown()
- func (m *OTPInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OTPInfo) XXX_Merge(src proto.Message)
- func (m *OTPInfo) XXX_Size() int
- func (m *OTPInfo) XXX_Unmarshal(b []byte) error
- type RevokeAuthTokenRequest
- func (*RevokeAuthTokenRequest) Descriptor() ([]byte, []int)
- func (m *RevokeAuthTokenRequest) GetToken() string
- func (m *RevokeAuthTokenRequest) Marshal() (dAtA []byte, err error)
- func (m *RevokeAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevokeAuthTokenRequest) ProtoMessage()
- func (m *RevokeAuthTokenRequest) Reset()
- func (m *RevokeAuthTokenRequest) Size() (n int)
- func (m *RevokeAuthTokenRequest) String() string
- func (m *RevokeAuthTokenRequest) Unmarshal(dAtA []byte) error
- func (m *RevokeAuthTokenRequest) XXX_DiscardUnknown()
- func (m *RevokeAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeAuthTokenRequest) XXX_Merge(src proto.Message)
- func (m *RevokeAuthTokenRequest) XXX_Size() int
- func (m *RevokeAuthTokenRequest) XXX_Unmarshal(b []byte) error
- type RevokeAuthTokenResponse
- func (*RevokeAuthTokenResponse) Descriptor() ([]byte, []int)
- func (m *RevokeAuthTokenResponse) Marshal() (dAtA []byte, err error)
- func (m *RevokeAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RevokeAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RevokeAuthTokenResponse) ProtoMessage()
- func (m *RevokeAuthTokenResponse) Reset()
- func (m *RevokeAuthTokenResponse) Size() (n int)
- func (m *RevokeAuthTokenResponse) String() string
- func (m *RevokeAuthTokenResponse) Unmarshal(dAtA []byte) error
- func (m *RevokeAuthTokenResponse) XXX_DiscardUnknown()
- func (m *RevokeAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RevokeAuthTokenResponse) XXX_Merge(src proto.Message)
- func (m *RevokeAuthTokenResponse) XXX_Size() int
- func (m *RevokeAuthTokenResponse) XXX_Unmarshal(b []byte) error
- type Scope
- type SetACLRequest
- func (*SetACLRequest) Descriptor() ([]byte, []int)
- func (m *SetACLRequest) GetEntries() []*ACLEntry
- func (m *SetACLRequest) GetRepo() string
- func (m *SetACLRequest) Marshal() (dAtA []byte, err error)
- func (m *SetACLRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetACLRequest) ProtoMessage()
- func (m *SetACLRequest) Reset()
- func (m *SetACLRequest) Size() (n int)
- func (m *SetACLRequest) String() string
- func (m *SetACLRequest) Unmarshal(dAtA []byte) error
- func (m *SetACLRequest) XXX_DiscardUnknown()
- func (m *SetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetACLRequest) XXX_Merge(src proto.Message)
- func (m *SetACLRequest) XXX_Size() int
- func (m *SetACLRequest) XXX_Unmarshal(b []byte) error
- type SetACLResponse
- func (*SetACLResponse) Descriptor() ([]byte, []int)
- func (m *SetACLResponse) Marshal() (dAtA []byte, err error)
- func (m *SetACLResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetACLResponse) ProtoMessage()
- func (m *SetACLResponse) Reset()
- func (m *SetACLResponse) Size() (n int)
- func (m *SetACLResponse) String() string
- func (m *SetACLResponse) Unmarshal(dAtA []byte) error
- func (m *SetACLResponse) XXX_DiscardUnknown()
- func (m *SetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetACLResponse) XXX_Merge(src proto.Message)
- func (m *SetACLResponse) XXX_Size() int
- func (m *SetACLResponse) XXX_Unmarshal(b []byte) error
- type SetConfigurationRequest
- func (*SetConfigurationRequest) Descriptor() ([]byte, []int)
- func (m *SetConfigurationRequest) GetConfiguration() *AuthConfig
- func (m *SetConfigurationRequest) Marshal() (dAtA []byte, err error)
- func (m *SetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetConfigurationRequest) ProtoMessage()
- func (m *SetConfigurationRequest) Reset()
- func (m *SetConfigurationRequest) Size() (n int)
- func (m *SetConfigurationRequest) String() string
- func (m *SetConfigurationRequest) Unmarshal(dAtA []byte) error
- func (m *SetConfigurationRequest) XXX_DiscardUnknown()
- func (m *SetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigurationRequest) XXX_Merge(src proto.Message)
- func (m *SetConfigurationRequest) XXX_Size() int
- func (m *SetConfigurationRequest) XXX_Unmarshal(b []byte) error
- type SetConfigurationResponse
- func (*SetConfigurationResponse) Descriptor() ([]byte, []int)
- func (m *SetConfigurationResponse) Marshal() (dAtA []byte, err error)
- func (m *SetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetConfigurationResponse) ProtoMessage()
- func (m *SetConfigurationResponse) Reset()
- func (m *SetConfigurationResponse) Size() (n int)
- func (m *SetConfigurationResponse) String() string
- func (m *SetConfigurationResponse) Unmarshal(dAtA []byte) error
- func (m *SetConfigurationResponse) XXX_DiscardUnknown()
- func (m *SetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetConfigurationResponse) XXX_Merge(src proto.Message)
- func (m *SetConfigurationResponse) XXX_Size() int
- func (m *SetConfigurationResponse) XXX_Unmarshal(b []byte) error
- type SetGroupsForUserRequest
- func (*SetGroupsForUserRequest) Descriptor() ([]byte, []int)
- func (m *SetGroupsForUserRequest) GetGroups() []string
- func (m *SetGroupsForUserRequest) GetUsername() string
- func (m *SetGroupsForUserRequest) Marshal() (dAtA []byte, err error)
- func (m *SetGroupsForUserRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetGroupsForUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetGroupsForUserRequest) ProtoMessage()
- func (m *SetGroupsForUserRequest) Reset()
- func (m *SetGroupsForUserRequest) Size() (n int)
- func (m *SetGroupsForUserRequest) String() string
- func (m *SetGroupsForUserRequest) Unmarshal(dAtA []byte) error
- func (m *SetGroupsForUserRequest) XXX_DiscardUnknown()
- func (m *SetGroupsForUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetGroupsForUserRequest) XXX_Merge(src proto.Message)
- func (m *SetGroupsForUserRequest) XXX_Size() int
- func (m *SetGroupsForUserRequest) XXX_Unmarshal(b []byte) error
- type SetGroupsForUserResponse
- func (*SetGroupsForUserResponse) Descriptor() ([]byte, []int)
- func (m *SetGroupsForUserResponse) Marshal() (dAtA []byte, err error)
- func (m *SetGroupsForUserResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetGroupsForUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetGroupsForUserResponse) ProtoMessage()
- func (m *SetGroupsForUserResponse) Reset()
- func (m *SetGroupsForUserResponse) Size() (n int)
- func (m *SetGroupsForUserResponse) String() string
- func (m *SetGroupsForUserResponse) Unmarshal(dAtA []byte) error
- func (m *SetGroupsForUserResponse) XXX_DiscardUnknown()
- func (m *SetGroupsForUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetGroupsForUserResponse) XXX_Merge(src proto.Message)
- func (m *SetGroupsForUserResponse) XXX_Size() int
- func (m *SetGroupsForUserResponse) XXX_Unmarshal(b []byte) error
- type SetScopeRequest
- func (*SetScopeRequest) Descriptor() ([]byte, []int)
- func (m *SetScopeRequest) GetRepo() string
- func (m *SetScopeRequest) GetScope() Scope
- func (m *SetScopeRequest) GetUsername() string
- func (m *SetScopeRequest) Marshal() (dAtA []byte, err error)
- func (m *SetScopeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetScopeRequest) ProtoMessage()
- func (m *SetScopeRequest) Reset()
- func (m *SetScopeRequest) Size() (n int)
- func (m *SetScopeRequest) String() string
- func (m *SetScopeRequest) Unmarshal(dAtA []byte) error
- func (m *SetScopeRequest) XXX_DiscardUnknown()
- func (m *SetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetScopeRequest) XXX_Merge(src proto.Message)
- func (m *SetScopeRequest) XXX_Size() int
- func (m *SetScopeRequest) XXX_Unmarshal(b []byte) error
- type SetScopeResponse
- func (*SetScopeResponse) Descriptor() ([]byte, []int)
- func (m *SetScopeResponse) Marshal() (dAtA []byte, err error)
- func (m *SetScopeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetScopeResponse) ProtoMessage()
- func (m *SetScopeResponse) Reset()
- func (m *SetScopeResponse) Size() (n int)
- func (m *SetScopeResponse) String() string
- func (m *SetScopeResponse) Unmarshal(dAtA []byte) error
- func (m *SetScopeResponse) XXX_DiscardUnknown()
- func (m *SetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetScopeResponse) XXX_Merge(src proto.Message)
- func (m *SetScopeResponse) XXX_Size() int
- func (m *SetScopeResponse) XXX_Unmarshal(b []byte) error
- type TokenInfo
- func (*TokenInfo) Descriptor() ([]byte, []int)
- func (m *TokenInfo) GetSource() TokenInfo_TokenSource
- func (m *TokenInfo) GetSubject() string
- func (m *TokenInfo) Marshal() (dAtA []byte, err error)
- func (m *TokenInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TokenInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TokenInfo) ProtoMessage()
- func (m *TokenInfo) Reset()
- func (m *TokenInfo) Size() (n int)
- func (m *TokenInfo) String() string
- func (m *TokenInfo) Unmarshal(dAtA []byte) error
- func (m *TokenInfo) XXX_DiscardUnknown()
- func (m *TokenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenInfo) XXX_Merge(src proto.Message)
- func (m *TokenInfo) XXX_Size() int
- func (m *TokenInfo) XXX_Unmarshal(b []byte) error
- type TokenInfo_TokenSource
- type UnimplementedAPIServer
- func (*UnimplementedAPIServer) Activate(ctx context.Context, req *ActivateRequest) (*ActivateResponse, error)
- func (*UnimplementedAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error)
- func (*UnimplementedAPIServer) Authorize(ctx context.Context, req *AuthorizeRequest) (*AuthorizeResponse, error)
- func (*UnimplementedAPIServer) Deactivate(ctx context.Context, req *DeactivateRequest) (*DeactivateResponse, error)
- func (*UnimplementedAPIServer) ExtendAuthToken(ctx context.Context, req *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error)
- func (*UnimplementedAPIServer) GetACL(ctx context.Context, req *GetACLRequest) (*GetACLResponse, error)
- func (*UnimplementedAPIServer) GetAdmins(ctx context.Context, req *GetAdminsRequest) (*GetAdminsResponse, error)
- func (*UnimplementedAPIServer) GetAuthToken(ctx context.Context, req *GetAuthTokenRequest) (*GetAuthTokenResponse, error)
- func (*UnimplementedAPIServer) GetConfiguration(ctx context.Context, req *GetConfigurationRequest) (*GetConfigurationResponse, error)
- func (*UnimplementedAPIServer) GetGroups(ctx context.Context, req *GetGroupsRequest) (*GetGroupsResponse, error)
- func (*UnimplementedAPIServer) GetOneTimePassword(ctx context.Context, req *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error)
- func (*UnimplementedAPIServer) GetScope(ctx context.Context, req *GetScopeRequest) (*GetScopeResponse, error)
- func (*UnimplementedAPIServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error)
- func (*UnimplementedAPIServer) ModifyAdmins(ctx context.Context, req *ModifyAdminsRequest) (*ModifyAdminsResponse, error)
- func (*UnimplementedAPIServer) ModifyMembers(ctx context.Context, req *ModifyMembersRequest) (*ModifyMembersResponse, error)
- func (*UnimplementedAPIServer) RevokeAuthToken(ctx context.Context, req *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
- func (*UnimplementedAPIServer) SetACL(ctx context.Context, req *SetACLRequest) (*SetACLResponse, error)
- func (*UnimplementedAPIServer) SetConfiguration(ctx context.Context, req *SetConfigurationRequest) (*SetConfigurationResponse, error)
- func (*UnimplementedAPIServer) SetGroupsForUser(ctx context.Context, req *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)
- func (*UnimplementedAPIServer) SetScope(ctx context.Context, req *SetScopeRequest) (*SetScopeResponse, error)
- func (*UnimplementedAPIServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error)
- type Users
- func (*Users) Descriptor() ([]byte, []int)
- func (m *Users) GetUsernames() map[string]bool
- func (m *Users) Marshal() (dAtA []byte, err error)
- func (m *Users) MarshalTo(dAtA []byte) (int, error)
- func (m *Users) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Users) ProtoMessage()
- func (m *Users) Reset()
- func (m *Users) Size() (n int)
- func (m *Users) String() string
- func (m *Users) Unmarshal(dAtA []byte) error
- func (m *Users) XXX_DiscardUnknown()
- func (m *Users) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Users) XXX_Merge(src proto.Message)
- func (m *Users) XXX_Size() int
- func (m *Users) XXX_Unmarshal(b []byte) error
- type WhoAmIRequest
- func (*WhoAmIRequest) Descriptor() ([]byte, []int)
- func (m *WhoAmIRequest) Marshal() (dAtA []byte, err error)
- func (m *WhoAmIRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *WhoAmIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhoAmIRequest) ProtoMessage()
- func (m *WhoAmIRequest) Reset()
- func (m *WhoAmIRequest) Size() (n int)
- func (m *WhoAmIRequest) String() string
- func (m *WhoAmIRequest) Unmarshal(dAtA []byte) error
- func (m *WhoAmIRequest) XXX_DiscardUnknown()
- func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhoAmIRequest) XXX_Merge(src proto.Message)
- func (m *WhoAmIRequest) XXX_Size() int
- func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error
- type WhoAmIResponse
- func (*WhoAmIResponse) Descriptor() ([]byte, []int)
- func (m *WhoAmIResponse) GetIsAdmin() bool
- func (m *WhoAmIResponse) GetTTL() int64
- func (m *WhoAmIResponse) GetUsername() string
- func (m *WhoAmIResponse) Marshal() (dAtA []byte, err error)
- func (m *WhoAmIResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *WhoAmIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhoAmIResponse) ProtoMessage()
- func (m *WhoAmIResponse) Reset()
- func (m *WhoAmIResponse) Size() (n int)
- func (m *WhoAmIResponse) String() string
- func (m *WhoAmIResponse) Unmarshal(dAtA []byte) error
- func (m *WhoAmIResponse) XXX_DiscardUnknown()
- func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhoAmIResponse) XXX_Merge(src proto.Message)
- func (m *WhoAmIResponse) XXX_Size() int
- func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAuth = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuth = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuth = fmt.Errorf("proto: unexpected end of group") )
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,
}
Functions ¶
func RegisterAPIServer ¶
Types ¶
type ACL ¶
type ACL struct { // principal -> scope. All principals are the default principal of a Pachyderm // subject (i.e. all keys in this map are strings prefixed with either // "github:" or "robot:", followed by the name of a GitHub user, all of whom // are Pachyderm subjects, or a Pachyderm robot user) Entries map[string]Scope `` /* 176-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ACL) Descriptor ¶
func (*ACL) GetEntries ¶
func (*ACL) ProtoMessage ¶
func (*ACL) ProtoMessage()
func (*ACL) XXX_DiscardUnknown ¶
func (m *ACL) XXX_DiscardUnknown()
func (*ACL) XXX_Unmarshal ¶
type ACLEntry ¶
type ACLEntry struct { // username is the principal posessing this level of access to this ACL's // repo (despite the name, this principal may be for a human github user or a // pachyderm robot) Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // scope is the level of access that the owner of 'principal' has to this // ACL's repo (actually a role in typical security terminology) Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_7.Scope" json:"scope,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ACLEntry) Descriptor ¶
func (*ACLEntry) GetUsername ¶
func (*ACLEntry) MarshalToSizedBuffer ¶
func (*ACLEntry) ProtoMessage ¶
func (*ACLEntry) ProtoMessage()
func (*ACLEntry) XXX_DiscardUnknown ¶
func (m *ACLEntry) XXX_DiscardUnknown()
func (*ACLEntry) XXX_Marshal ¶
func (*ACLEntry) XXX_Unmarshal ¶
type APIClient ¶
type APIClient interface { // Activate/Deactivate the auth API. 'Activate' sets an initial set of admins // for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and // admins from the Pachyderm cluster, making all data publicly accessable Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error) Deactivate(ctx context.Context, in *DeactivateRequest, opts ...grpc.CallOption) (*DeactivateResponse, error) GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error) SetConfiguration(ctx context.Context, in *SetConfigurationRequest, opts ...grpc.CallOption) (*SetConfigurationResponse, error) // GetAdmins returns the current list of cluster admins GetAdmins(ctx context.Context, in *GetAdminsRequest, opts ...grpc.CallOption) (*GetAdminsResponse, error) // ModifyAdmins adds or removes admins from the cluster ModifyAdmins(ctx context.Context, in *ModifyAdminsRequest, opts ...grpc.CallOption) (*ModifyAdminsResponse, error) Authenticate(ctx context.Context, in *AuthenticateRequest, opts ...grpc.CallOption) (*AuthenticateResponse, error) Authorize(ctx context.Context, in *AuthorizeRequest, opts ...grpc.CallOption) (*AuthorizeResponse, error) WhoAmI(ctx context.Context, in *WhoAmIRequest, opts ...grpc.CallOption) (*WhoAmIResponse, error) GetScope(ctx context.Context, in *GetScopeRequest, opts ...grpc.CallOption) (*GetScopeResponse, error) SetScope(ctx context.Context, in *SetScopeRequest, opts ...grpc.CallOption) (*SetScopeResponse, error) GetACL(ctx context.Context, in *GetACLRequest, opts ...grpc.CallOption) (*GetACLResponse, error) SetACL(ctx context.Context, in *SetACLRequest, opts ...grpc.CallOption) (*SetACLResponse, error) GetAuthToken(ctx context.Context, in *GetAuthTokenRequest, opts ...grpc.CallOption) (*GetAuthTokenResponse, error) ExtendAuthToken(ctx context.Context, in *ExtendAuthTokenRequest, opts ...grpc.CallOption) (*ExtendAuthTokenResponse, error) RevokeAuthToken(ctx context.Context, in *RevokeAuthTokenRequest, opts ...grpc.CallOption) (*RevokeAuthTokenResponse, error) SetGroupsForUser(ctx context.Context, in *SetGroupsForUserRequest, opts ...grpc.CallOption) (*SetGroupsForUserResponse, error) ModifyMembers(ctx context.Context, in *ModifyMembersRequest, opts ...grpc.CallOption) (*ModifyMembersResponse, error) GetGroups(ctx context.Context, in *GetGroupsRequest, opts ...grpc.CallOption) (*GetGroupsResponse, error) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) GetOneTimePassword(ctx context.Context, in *GetOneTimePasswordRequest, opts ...grpc.CallOption) (*GetOneTimePasswordResponse, error) }
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { // Activate/Deactivate the auth API. 'Activate' sets an initial set of admins // for the Pachyderm cluster, and 'Deactivate' removes all ACLs, tokens, and // admins from the Pachyderm cluster, making all data publicly accessable Activate(context.Context, *ActivateRequest) (*ActivateResponse, error) Deactivate(context.Context, *DeactivateRequest) (*DeactivateResponse, error) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error) SetConfiguration(context.Context, *SetConfigurationRequest) (*SetConfigurationResponse, error) // GetAdmins returns the current list of cluster admins GetAdmins(context.Context, *GetAdminsRequest) (*GetAdminsResponse, error) // ModifyAdmins adds or removes admins from the cluster ModifyAdmins(context.Context, *ModifyAdminsRequest) (*ModifyAdminsResponse, error) Authenticate(context.Context, *AuthenticateRequest) (*AuthenticateResponse, error) Authorize(context.Context, *AuthorizeRequest) (*AuthorizeResponse, error) WhoAmI(context.Context, *WhoAmIRequest) (*WhoAmIResponse, error) GetScope(context.Context, *GetScopeRequest) (*GetScopeResponse, error) SetScope(context.Context, *SetScopeRequest) (*SetScopeResponse, error) GetACL(context.Context, *GetACLRequest) (*GetACLResponse, error) SetACL(context.Context, *SetACLRequest) (*SetACLResponse, error) GetAuthToken(context.Context, *GetAuthTokenRequest) (*GetAuthTokenResponse, error) ExtendAuthToken(context.Context, *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error) RevokeAuthToken(context.Context, *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error) SetGroupsForUser(context.Context, *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error) ModifyMembers(context.Context, *ModifyMembersRequest) (*ModifyMembersResponse, error) GetGroups(context.Context, *GetGroupsRequest) (*GetGroupsResponse, error) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) GetOneTimePassword(context.Context, *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error) }
APIServer is the server API for API service.
type ActivateRequest ¶
type ActivateRequest struct { // If set, Pachyderm will authenticate the caller as this user. // - If set to a github user (i.e. it has a 'github:' prefix or no prefix) // then Pachyderm will confirm that it matches the user associated with // 'github_token' // - If set to a robot user (i.e. it has a 'robot:' prefix), then Pachyderm // will generate a new token for the robot user; this token will be the only // way to administer this cluster until more admins are added. Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // This is the token returned by GitHub and used to authenticate the caller. // When Pachyderm is deployed locally, setting this value to a given string // will automatically authenticate the caller as a GitHub user whose username // is that string (unless this "looks like" a GitHub access code, in which // case Pachyderm does retrieve the corresponding GitHub username) GitHubToken string `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ActivateRequest mirrors AuthenticateRequest. The caller is authenticated via GitHub OAuth, and then promoted to the cluster's first Admin. Afterwards, the caller can promote other users to Admin and remove themselves
func (*ActivateRequest) Descriptor ¶
func (*ActivateRequest) Descriptor() ([]byte, []int)
func (*ActivateRequest) GetGitHubToken ¶
func (m *ActivateRequest) GetGitHubToken() string
func (*ActivateRequest) GetSubject ¶
func (m *ActivateRequest) GetSubject() string
func (*ActivateRequest) Marshal ¶
func (m *ActivateRequest) Marshal() (dAtA []byte, err error)
func (*ActivateRequest) MarshalToSizedBuffer ¶
func (m *ActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivateRequest) ProtoMessage ¶
func (*ActivateRequest) ProtoMessage()
func (*ActivateRequest) Reset ¶
func (m *ActivateRequest) Reset()
func (*ActivateRequest) Size ¶
func (m *ActivateRequest) Size() (n int)
func (*ActivateRequest) String ¶
func (m *ActivateRequest) String() string
func (*ActivateRequest) Unmarshal ¶
func (m *ActivateRequest) Unmarshal(dAtA []byte) error
func (*ActivateRequest) XXX_DiscardUnknown ¶
func (m *ActivateRequest) XXX_DiscardUnknown()
func (*ActivateRequest) XXX_Marshal ¶
func (m *ActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateRequest) XXX_Merge ¶
func (m *ActivateRequest) XXX_Merge(src proto.Message)
func (*ActivateRequest) XXX_Size ¶
func (m *ActivateRequest) XXX_Size() int
func (*ActivateRequest) XXX_Unmarshal ¶
func (m *ActivateRequest) XXX_Unmarshal(b []byte) error
type ActivateResponse ¶
type ActivateResponse struct { // pach_token authenticates the caller with Pachyderm (if you want to perform // Pachyderm operations after auth has been activated as themselves, you must // present this token along with your regular request) PachToken string `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ActivateResponse) Descriptor ¶
func (*ActivateResponse) Descriptor() ([]byte, []int)
func (*ActivateResponse) GetPachToken ¶
func (m *ActivateResponse) GetPachToken() string
func (*ActivateResponse) Marshal ¶
func (m *ActivateResponse) Marshal() (dAtA []byte, err error)
func (*ActivateResponse) MarshalToSizedBuffer ¶
func (m *ActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActivateResponse) ProtoMessage ¶
func (*ActivateResponse) ProtoMessage()
func (*ActivateResponse) Reset ¶
func (m *ActivateResponse) Reset()
func (*ActivateResponse) Size ¶
func (m *ActivateResponse) Size() (n int)
func (*ActivateResponse) String ¶
func (m *ActivateResponse) String() string
func (*ActivateResponse) Unmarshal ¶
func (m *ActivateResponse) Unmarshal(dAtA []byte) error
func (*ActivateResponse) XXX_DiscardUnknown ¶
func (m *ActivateResponse) XXX_DiscardUnknown()
func (*ActivateResponse) XXX_Marshal ¶
func (m *ActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActivateResponse) XXX_Merge ¶
func (m *ActivateResponse) XXX_Merge(src proto.Message)
func (*ActivateResponse) XXX_Size ¶
func (m *ActivateResponse) XXX_Size() int
func (*ActivateResponse) XXX_Unmarshal ¶
func (m *ActivateResponse) XXX_Unmarshal(b []byte) error
type AuthConfig ¶
type AuthConfig struct { // live_config_version identifies the version of a given pachyderm cluster's // current auth configuration; if a user tries to write an auth configuration // where live_config_version doesn't match the version of the cluster's // current config, the write will fail. This allows for safe // read+modify+write config changes. LiveConfigVersion int64 `protobuf:"varint,1,opt,name=live_config_version,json=liveConfigVersion,proto3" json:"live_config_version,omitempty"` // id_providers describes external ID providers that can authenticate // Pachyderm users (e.g. GitHub, Okta, etc) IDProviders []*IDProvider `protobuf:"bytes,2,rep,name=id_providers,json=idProviders,proto3" json:"id_providers,omitempty"` SAMLServiceOptions *AuthConfig_SAMLServiceOptions `protobuf:"bytes,3,opt,name=saml_svc_options,json=samlSvcOptions,proto3" json:"saml_svc_options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configure Pachyderm's auth system (particularly authentication backends
func (*AuthConfig) Descriptor ¶
func (*AuthConfig) Descriptor() ([]byte, []int)
func (*AuthConfig) GetIDProviders ¶
func (m *AuthConfig) GetIDProviders() []*IDProvider
func (*AuthConfig) GetLiveConfigVersion ¶
func (m *AuthConfig) GetLiveConfigVersion() int64
func (*AuthConfig) GetSAMLServiceOptions ¶
func (m *AuthConfig) GetSAMLServiceOptions() *AuthConfig_SAMLServiceOptions
func (*AuthConfig) Marshal ¶
func (m *AuthConfig) Marshal() (dAtA []byte, err error)
func (*AuthConfig) MarshalToSizedBuffer ¶
func (m *AuthConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthConfig) ProtoMessage ¶
func (*AuthConfig) ProtoMessage()
func (*AuthConfig) Reset ¶
func (m *AuthConfig) Reset()
func (*AuthConfig) Size ¶
func (m *AuthConfig) Size() (n int)
func (*AuthConfig) String ¶
func (m *AuthConfig) String() string
func (*AuthConfig) Unmarshal ¶
func (m *AuthConfig) Unmarshal(dAtA []byte) error
func (*AuthConfig) XXX_DiscardUnknown ¶
func (m *AuthConfig) XXX_DiscardUnknown()
func (*AuthConfig) XXX_Marshal ¶
func (m *AuthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthConfig) XXX_Merge ¶
func (m *AuthConfig) XXX_Merge(src proto.Message)
func (*AuthConfig) XXX_Size ¶
func (m *AuthConfig) XXX_Size() int
func (*AuthConfig) XXX_Unmarshal ¶
func (m *AuthConfig) XXX_Unmarshal(b []byte) error
type AuthConfig_SAMLServiceOptions ¶
type AuthConfig_SAMLServiceOptions struct { // acs is the URL of Pachd's Assertion Consumer Service (i.e. where SAML ID // providers can send SAMLResponses to Pachd). If Pachyderm is running in a // private cluster, the cluster admin would be responsible for setting up a // domain name/proxy to resolve to pachd:654/acs ACSURL string `protobuf:"bytes,1,opt,name=acs_url,json=acsUrl,proto3" json:"acs_url,omitempty"` // metadata_url is the public URL of Pachd's SAML metadata service (some // SAML ID providers will query this for information about Pachyderm's SAML // implementation and use it to idenfity Pachyderm as a service provider). // If Pachyderm is running in a private cluster, the cluster admin would be // responsible for creating this URL (which must resolve to // pachd:654/saml/metadata) MetadataURL string `protobuf:"bytes,2,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"` // dash_url is the public address of this cluster's Pachyderm // dashboard, if one exists; this option determines where users will be // redirected after successfully authenticating DashURL string `protobuf:"bytes,3,opt,name=dash_url,json=dashUrl,proto3" json:"dash_url,omitempty"` // session_duration determines the duration of SAML-IdP-authenticated user // sessions (specified as a Golang time duration, e.g. "24h" or "600m"). If // unset, user sessions last 24 hours (a short default, as SAML assertions // may contain group memberships that need to be refreshed) SessionDuration string `protobuf:"bytes,4,opt,name=session_duration,json=sessionDuration,proto3" json:"session_duration,omitempty"` // debug_logging determines whether pachd emits verbose logs (including // SAML credentials) as it receives them, which may be helpful for // debugging. This will probably not be present in any official releases. DebugLogging bool `protobuf:"varint,5,opt,name=debug_logging,json=debugLogging,proto3" json:"debug_logging,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
saml_svc_options configures the SAML services (Assertion Consumer Service and Metadata Service) that Pachd can export.
func (*AuthConfig_SAMLServiceOptions) Descriptor ¶
func (*AuthConfig_SAMLServiceOptions) Descriptor() ([]byte, []int)
func (*AuthConfig_SAMLServiceOptions) GetACSURL ¶
func (m *AuthConfig_SAMLServiceOptions) GetACSURL() string
func (*AuthConfig_SAMLServiceOptions) GetDashURL ¶
func (m *AuthConfig_SAMLServiceOptions) GetDashURL() string
func (*AuthConfig_SAMLServiceOptions) GetDebugLogging ¶
func (m *AuthConfig_SAMLServiceOptions) GetDebugLogging() bool
func (*AuthConfig_SAMLServiceOptions) GetMetadataURL ¶
func (m *AuthConfig_SAMLServiceOptions) GetMetadataURL() string
func (*AuthConfig_SAMLServiceOptions) GetSessionDuration ¶
func (m *AuthConfig_SAMLServiceOptions) GetSessionDuration() string
func (*AuthConfig_SAMLServiceOptions) Marshal ¶
func (m *AuthConfig_SAMLServiceOptions) Marshal() (dAtA []byte, err error)
func (*AuthConfig_SAMLServiceOptions) MarshalTo ¶
func (m *AuthConfig_SAMLServiceOptions) MarshalTo(dAtA []byte) (int, error)
func (*AuthConfig_SAMLServiceOptions) MarshalToSizedBuffer ¶
func (m *AuthConfig_SAMLServiceOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthConfig_SAMLServiceOptions) ProtoMessage ¶
func (*AuthConfig_SAMLServiceOptions) ProtoMessage()
func (*AuthConfig_SAMLServiceOptions) Reset ¶
func (m *AuthConfig_SAMLServiceOptions) Reset()
func (*AuthConfig_SAMLServiceOptions) Size ¶
func (m *AuthConfig_SAMLServiceOptions) Size() (n int)
func (*AuthConfig_SAMLServiceOptions) String ¶
func (m *AuthConfig_SAMLServiceOptions) String() string
func (*AuthConfig_SAMLServiceOptions) Unmarshal ¶
func (m *AuthConfig_SAMLServiceOptions) Unmarshal(dAtA []byte) error
func (*AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown ¶
func (m *AuthConfig_SAMLServiceOptions) XXX_DiscardUnknown()
func (*AuthConfig_SAMLServiceOptions) XXX_Marshal ¶
func (m *AuthConfig_SAMLServiceOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthConfig_SAMLServiceOptions) XXX_Merge ¶
func (m *AuthConfig_SAMLServiceOptions) XXX_Merge(src proto.Message)
func (*AuthConfig_SAMLServiceOptions) XXX_Size ¶
func (m *AuthConfig_SAMLServiceOptions) XXX_Size() int
func (*AuthConfig_SAMLServiceOptions) XXX_Unmarshal ¶
func (m *AuthConfig_SAMLServiceOptions) XXX_Unmarshal(b []byte) error
type AuthenticateRequest ¶
type AuthenticateRequest struct { // This is the token returned by GitHub and used to authenticate the caller. // When Pachyderm is deployed locally, setting this value to a given string // will automatically authenticate the caller as a GitHub user whose username // is that string (unless this "looks like" a GitHub access code, in which // case Pachyderm does retrieve the corresponding GitHub username) GitHubToken string `protobuf:"bytes,1,opt,name=github_token,json=githubToken,proto3" json:"github_token,omitempty"` // This is a short-lived, one-time-use password generated by Pachyderm, for // the purpose of propagating authentication to new clients (e.g. from the // dash to pachd) OneTimePassword string `protobuf:"bytes,2,opt,name=one_time_password,json=oneTimePassword,proto3" json:"one_time_password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateRequest) Descriptor ¶
func (*AuthenticateRequest) Descriptor() ([]byte, []int)
func (*AuthenticateRequest) GetGitHubToken ¶
func (m *AuthenticateRequest) GetGitHubToken() string
func (*AuthenticateRequest) GetOneTimePassword ¶
func (m *AuthenticateRequest) GetOneTimePassword() string
func (*AuthenticateRequest) Marshal ¶
func (m *AuthenticateRequest) Marshal() (dAtA []byte, err error)
func (*AuthenticateRequest) MarshalTo ¶
func (m *AuthenticateRequest) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticateRequest) MarshalToSizedBuffer ¶
func (m *AuthenticateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticateRequest) ProtoMessage ¶
func (*AuthenticateRequest) ProtoMessage()
func (*AuthenticateRequest) Reset ¶
func (m *AuthenticateRequest) Reset()
func (*AuthenticateRequest) Size ¶
func (m *AuthenticateRequest) Size() (n int)
func (*AuthenticateRequest) String ¶
func (m *AuthenticateRequest) String() string
func (*AuthenticateRequest) Unmarshal ¶
func (m *AuthenticateRequest) Unmarshal(dAtA []byte) error
func (*AuthenticateRequest) XXX_DiscardUnknown ¶
func (m *AuthenticateRequest) XXX_DiscardUnknown()
func (*AuthenticateRequest) XXX_Marshal ¶
func (m *AuthenticateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateRequest) XXX_Merge ¶
func (m *AuthenticateRequest) XXX_Merge(src proto.Message)
func (*AuthenticateRequest) XXX_Size ¶
func (m *AuthenticateRequest) XXX_Size() int
func (*AuthenticateRequest) XXX_Unmarshal ¶
func (m *AuthenticateRequest) XXX_Unmarshal(b []byte) error
type AuthenticateResponse ¶
type AuthenticateResponse struct { // pach_token authenticates the caller with Pachyderm (if you want to perform // Pachyderm operations after auth has been activated as themselves, you must // present this token along with your regular request) PachToken string `protobuf:"bytes,1,opt,name=pach_token,json=pachToken,proto3" json:"pach_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthenticateResponse) Descriptor ¶
func (*AuthenticateResponse) Descriptor() ([]byte, []int)
func (*AuthenticateResponse) GetPachToken ¶
func (m *AuthenticateResponse) GetPachToken() string
func (*AuthenticateResponse) Marshal ¶
func (m *AuthenticateResponse) Marshal() (dAtA []byte, err error)
func (*AuthenticateResponse) MarshalTo ¶
func (m *AuthenticateResponse) MarshalTo(dAtA []byte) (int, error)
func (*AuthenticateResponse) MarshalToSizedBuffer ¶
func (m *AuthenticateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthenticateResponse) ProtoMessage ¶
func (*AuthenticateResponse) ProtoMessage()
func (*AuthenticateResponse) Reset ¶
func (m *AuthenticateResponse) Reset()
func (*AuthenticateResponse) Size ¶
func (m *AuthenticateResponse) Size() (n int)
func (*AuthenticateResponse) String ¶
func (m *AuthenticateResponse) String() string
func (*AuthenticateResponse) Unmarshal ¶
func (m *AuthenticateResponse) Unmarshal(dAtA []byte) error
func (*AuthenticateResponse) XXX_DiscardUnknown ¶
func (m *AuthenticateResponse) XXX_DiscardUnknown()
func (*AuthenticateResponse) XXX_Marshal ¶
func (m *AuthenticateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthenticateResponse) XXX_Merge ¶
func (m *AuthenticateResponse) XXX_Merge(src proto.Message)
func (*AuthenticateResponse) XXX_Size ¶
func (m *AuthenticateResponse) XXX_Size() int
func (*AuthenticateResponse) XXX_Unmarshal ¶
func (m *AuthenticateResponse) XXX_Unmarshal(b []byte) error
type AuthorizeRequest ¶
type AuthorizeRequest struct { // repo is the object that the caller wants to access Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` // scope is the access level that the caller needs to perform an action Scope Scope `protobuf:"varint,2,opt,name=scope,proto3,enum=auth_1_7.Scope" json:"scope,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizeRequest) Descriptor ¶
func (*AuthorizeRequest) Descriptor() ([]byte, []int)
func (*AuthorizeRequest) GetRepo ¶
func (m *AuthorizeRequest) GetRepo() string
func (*AuthorizeRequest) GetScope ¶
func (m *AuthorizeRequest) GetScope() Scope
func (*AuthorizeRequest) Marshal ¶
func (m *AuthorizeRequest) Marshal() (dAtA []byte, err error)
func (*AuthorizeRequest) MarshalToSizedBuffer ¶
func (m *AuthorizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthorizeRequest) ProtoMessage ¶
func (*AuthorizeRequest) ProtoMessage()
func (*AuthorizeRequest) Reset ¶
func (m *AuthorizeRequest) Reset()
func (*AuthorizeRequest) Size ¶
func (m *AuthorizeRequest) Size() (n int)
func (*AuthorizeRequest) String ¶
func (m *AuthorizeRequest) String() string
func (*AuthorizeRequest) Unmarshal ¶
func (m *AuthorizeRequest) Unmarshal(dAtA []byte) error
func (*AuthorizeRequest) XXX_DiscardUnknown ¶
func (m *AuthorizeRequest) XXX_DiscardUnknown()
func (*AuthorizeRequest) XXX_Marshal ¶
func (m *AuthorizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeRequest) XXX_Merge ¶
func (m *AuthorizeRequest) XXX_Merge(src proto.Message)
func (*AuthorizeRequest) XXX_Size ¶
func (m *AuthorizeRequest) XXX_Size() int
func (*AuthorizeRequest) XXX_Unmarshal ¶
func (m *AuthorizeRequest) XXX_Unmarshal(b []byte) error
type AuthorizeResponse ¶
type AuthorizeResponse struct { // authorized is true if the caller has at least // 'AuthorizeRequest.scope'-level access to 'AuthorizeRequest.repo', and false // otherwise Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AuthorizeResponse) Descriptor ¶
func (*AuthorizeResponse) Descriptor() ([]byte, []int)
func (*AuthorizeResponse) GetAuthorized ¶
func (m *AuthorizeResponse) GetAuthorized() bool
func (*AuthorizeResponse) Marshal ¶
func (m *AuthorizeResponse) Marshal() (dAtA []byte, err error)
func (*AuthorizeResponse) MarshalTo ¶
func (m *AuthorizeResponse) MarshalTo(dAtA []byte) (int, error)
func (*AuthorizeResponse) MarshalToSizedBuffer ¶
func (m *AuthorizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuthorizeResponse) ProtoMessage ¶
func (*AuthorizeResponse) ProtoMessage()
func (*AuthorizeResponse) Reset ¶
func (m *AuthorizeResponse) Reset()
func (*AuthorizeResponse) Size ¶
func (m *AuthorizeResponse) Size() (n int)
func (*AuthorizeResponse) String ¶
func (m *AuthorizeResponse) String() string
func (*AuthorizeResponse) Unmarshal ¶
func (m *AuthorizeResponse) Unmarshal(dAtA []byte) error
func (*AuthorizeResponse) XXX_DiscardUnknown ¶
func (m *AuthorizeResponse) XXX_DiscardUnknown()
func (*AuthorizeResponse) XXX_Marshal ¶
func (m *AuthorizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuthorizeResponse) XXX_Merge ¶
func (m *AuthorizeResponse) XXX_Merge(src proto.Message)
func (*AuthorizeResponse) XXX_Size ¶
func (m *AuthorizeResponse) XXX_Size() int
func (*AuthorizeResponse) XXX_Unmarshal ¶
func (m *AuthorizeResponse) XXX_Unmarshal(b []byte) error
type DeactivateRequest ¶
type DeactivateRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeactivateRequest) Descriptor ¶
func (*DeactivateRequest) Descriptor() ([]byte, []int)
func (*DeactivateRequest) Marshal ¶
func (m *DeactivateRequest) Marshal() (dAtA []byte, err error)
func (*DeactivateRequest) MarshalTo ¶
func (m *DeactivateRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeactivateRequest) MarshalToSizedBuffer ¶
func (m *DeactivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeactivateRequest) ProtoMessage ¶
func (*DeactivateRequest) ProtoMessage()
func (*DeactivateRequest) Reset ¶
func (m *DeactivateRequest) Reset()
func (*DeactivateRequest) Size ¶
func (m *DeactivateRequest) Size() (n int)
func (*DeactivateRequest) String ¶
func (m *DeactivateRequest) String() string
func (*DeactivateRequest) Unmarshal ¶
func (m *DeactivateRequest) Unmarshal(dAtA []byte) error
func (*DeactivateRequest) XXX_DiscardUnknown ¶
func (m *DeactivateRequest) XXX_DiscardUnknown()
func (*DeactivateRequest) XXX_Marshal ¶
func (m *DeactivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeactivateRequest) XXX_Merge ¶
func (m *DeactivateRequest) XXX_Merge(src proto.Message)
func (*DeactivateRequest) XXX_Size ¶
func (m *DeactivateRequest) XXX_Size() int
func (*DeactivateRequest) XXX_Unmarshal ¶
func (m *DeactivateRequest) XXX_Unmarshal(b []byte) error
type DeactivateResponse ¶
type DeactivateResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeactivateResponse) Descriptor ¶
func (*DeactivateResponse) Descriptor() ([]byte, []int)
func (*DeactivateResponse) Marshal ¶
func (m *DeactivateResponse) Marshal() (dAtA []byte, err error)
func (*DeactivateResponse) MarshalTo ¶
func (m *DeactivateResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeactivateResponse) MarshalToSizedBuffer ¶
func (m *DeactivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeactivateResponse) ProtoMessage ¶
func (*DeactivateResponse) ProtoMessage()
func (*DeactivateResponse) Reset ¶
func (m *DeactivateResponse) Reset()
func (*DeactivateResponse) Size ¶
func (m *DeactivateResponse) Size() (n int)
func (*DeactivateResponse) String ¶
func (m *DeactivateResponse) String() string
func (*DeactivateResponse) Unmarshal ¶
func (m *DeactivateResponse) Unmarshal(dAtA []byte) error
func (*DeactivateResponse) XXX_DiscardUnknown ¶
func (m *DeactivateResponse) XXX_DiscardUnknown()
func (*DeactivateResponse) XXX_Marshal ¶
func (m *DeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeactivateResponse) XXX_Merge ¶
func (m *DeactivateResponse) XXX_Merge(src proto.Message)
func (*DeactivateResponse) XXX_Size ¶
func (m *DeactivateResponse) XXX_Size() int
func (*DeactivateResponse) XXX_Unmarshal ¶
func (m *DeactivateResponse) XXX_Unmarshal(b []byte) error
type ExtendAuthTokenRequest ¶
type ExtendAuthTokenRequest struct { // token indicates the Pachyderm token whose TTL is being extended Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // ttl indicates the new TTL of 'token' (if it's longer than the existing TTL) TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendAuthTokenRequest) Descriptor ¶
func (*ExtendAuthTokenRequest) Descriptor() ([]byte, []int)
func (*ExtendAuthTokenRequest) GetTTL ¶
func (m *ExtendAuthTokenRequest) GetTTL() int64
func (*ExtendAuthTokenRequest) GetToken ¶
func (m *ExtendAuthTokenRequest) GetToken() string
func (*ExtendAuthTokenRequest) Marshal ¶
func (m *ExtendAuthTokenRequest) Marshal() (dAtA []byte, err error)
func (*ExtendAuthTokenRequest) MarshalTo ¶
func (m *ExtendAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*ExtendAuthTokenRequest) MarshalToSizedBuffer ¶
func (m *ExtendAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtendAuthTokenRequest) ProtoMessage ¶
func (*ExtendAuthTokenRequest) ProtoMessage()
func (*ExtendAuthTokenRequest) Reset ¶
func (m *ExtendAuthTokenRequest) Reset()
func (*ExtendAuthTokenRequest) Size ¶
func (m *ExtendAuthTokenRequest) Size() (n int)
func (*ExtendAuthTokenRequest) String ¶
func (m *ExtendAuthTokenRequest) String() string
func (*ExtendAuthTokenRequest) Unmarshal ¶
func (m *ExtendAuthTokenRequest) Unmarshal(dAtA []byte) error
func (*ExtendAuthTokenRequest) XXX_DiscardUnknown ¶
func (m *ExtendAuthTokenRequest) XXX_DiscardUnknown()
func (*ExtendAuthTokenRequest) XXX_Marshal ¶
func (m *ExtendAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendAuthTokenRequest) XXX_Merge ¶
func (m *ExtendAuthTokenRequest) XXX_Merge(src proto.Message)
func (*ExtendAuthTokenRequest) XXX_Size ¶
func (m *ExtendAuthTokenRequest) XXX_Size() int
func (*ExtendAuthTokenRequest) XXX_Unmarshal ¶
func (m *ExtendAuthTokenRequest) XXX_Unmarshal(b []byte) error
type ExtendAuthTokenResponse ¶
type ExtendAuthTokenResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExtendAuthTokenResponse) Descriptor ¶
func (*ExtendAuthTokenResponse) Descriptor() ([]byte, []int)
func (*ExtendAuthTokenResponse) Marshal ¶
func (m *ExtendAuthTokenResponse) Marshal() (dAtA []byte, err error)
func (*ExtendAuthTokenResponse) MarshalTo ¶
func (m *ExtendAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*ExtendAuthTokenResponse) MarshalToSizedBuffer ¶
func (m *ExtendAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExtendAuthTokenResponse) ProtoMessage ¶
func (*ExtendAuthTokenResponse) ProtoMessage()
func (*ExtendAuthTokenResponse) Reset ¶
func (m *ExtendAuthTokenResponse) Reset()
func (*ExtendAuthTokenResponse) Size ¶
func (m *ExtendAuthTokenResponse) Size() (n int)
func (*ExtendAuthTokenResponse) String ¶
func (m *ExtendAuthTokenResponse) String() string
func (*ExtendAuthTokenResponse) Unmarshal ¶
func (m *ExtendAuthTokenResponse) Unmarshal(dAtA []byte) error
func (*ExtendAuthTokenResponse) XXX_DiscardUnknown ¶
func (m *ExtendAuthTokenResponse) XXX_DiscardUnknown()
func (*ExtendAuthTokenResponse) XXX_Marshal ¶
func (m *ExtendAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExtendAuthTokenResponse) XXX_Merge ¶
func (m *ExtendAuthTokenResponse) XXX_Merge(src proto.Message)
func (*ExtendAuthTokenResponse) XXX_Size ¶
func (m *ExtendAuthTokenResponse) XXX_Size() int
func (*ExtendAuthTokenResponse) XXX_Unmarshal ¶
func (m *ExtendAuthTokenResponse) XXX_Unmarshal(b []byte) error
type GetACLRequest ¶
type GetACLRequest struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetACLRequest) Descriptor ¶
func (*GetACLRequest) Descriptor() ([]byte, []int)
func (*GetACLRequest) GetRepo ¶
func (m *GetACLRequest) GetRepo() string
func (*GetACLRequest) Marshal ¶
func (m *GetACLRequest) Marshal() (dAtA []byte, err error)
func (*GetACLRequest) MarshalToSizedBuffer ¶
func (m *GetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetACLRequest) ProtoMessage ¶
func (*GetACLRequest) ProtoMessage()
func (*GetACLRequest) Reset ¶
func (m *GetACLRequest) Reset()
func (*GetACLRequest) Size ¶
func (m *GetACLRequest) Size() (n int)
func (*GetACLRequest) String ¶
func (m *GetACLRequest) String() string
func (*GetACLRequest) Unmarshal ¶
func (m *GetACLRequest) Unmarshal(dAtA []byte) error
func (*GetACLRequest) XXX_DiscardUnknown ¶
func (m *GetACLRequest) XXX_DiscardUnknown()
func (*GetACLRequest) XXX_Marshal ¶
func (m *GetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetACLRequest) XXX_Merge ¶
func (m *GetACLRequest) XXX_Merge(src proto.Message)
func (*GetACLRequest) XXX_Size ¶
func (m *GetACLRequest) XXX_Size() int
func (*GetACLRequest) XXX_Unmarshal ¶
func (m *GetACLRequest) XXX_Unmarshal(b []byte) error
type GetACLResponse ¶
type GetACLResponse struct { // entries contains all [user principal] -> [role] mappings. This is separate // from robot_entries to avoid migration pain the Pachyderm dashboard Entries []*ACLEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // robot_entries contains all [robot principal] -> [role] mappings. This is // separate from entries to be unambiguous (all keys are robot principals, but // have no prefixes) while avoiding migration pain in the Pachyderm dashboard. RobotEntries []*ACLEntry `protobuf:"bytes,2,rep,name=robot_entries,json=robotEntries,proto3" json:"robot_entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetACLReponse contains the list of entries on a Pachyderm ACL.
To avoid migration pain with the Pachyderm dash the list of user principal entries and robot principal entries are separate. This way, no prefix or other disambiguating device is needed in 'entries' to separate user principals from robot principals (which would confuse the dash). Instead, the dash can simply ignore robot principals.
func (*GetACLResponse) Descriptor ¶
func (*GetACLResponse) Descriptor() ([]byte, []int)
func (*GetACLResponse) GetEntries ¶
func (m *GetACLResponse) GetEntries() []*ACLEntry
func (*GetACLResponse) GetRobotEntries ¶
func (m *GetACLResponse) GetRobotEntries() []*ACLEntry
func (*GetACLResponse) Marshal ¶
func (m *GetACLResponse) Marshal() (dAtA []byte, err error)
func (*GetACLResponse) MarshalToSizedBuffer ¶
func (m *GetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetACLResponse) ProtoMessage ¶
func (*GetACLResponse) ProtoMessage()
func (*GetACLResponse) Reset ¶
func (m *GetACLResponse) Reset()
func (*GetACLResponse) Size ¶
func (m *GetACLResponse) Size() (n int)
func (*GetACLResponse) String ¶
func (m *GetACLResponse) String() string
func (*GetACLResponse) Unmarshal ¶
func (m *GetACLResponse) Unmarshal(dAtA []byte) error
func (*GetACLResponse) XXX_DiscardUnknown ¶
func (m *GetACLResponse) XXX_DiscardUnknown()
func (*GetACLResponse) XXX_Marshal ¶
func (m *GetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetACLResponse) XXX_Merge ¶
func (m *GetACLResponse) XXX_Merge(src proto.Message)
func (*GetACLResponse) XXX_Size ¶
func (m *GetACLResponse) XXX_Size() int
func (*GetACLResponse) XXX_Unmarshal ¶
func (m *GetACLResponse) XXX_Unmarshal(b []byte) error
type GetAdminsRequest ¶
type GetAdminsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get the current list of cluster admins
func (*GetAdminsRequest) Descriptor ¶
func (*GetAdminsRequest) Descriptor() ([]byte, []int)
func (*GetAdminsRequest) Marshal ¶
func (m *GetAdminsRequest) Marshal() (dAtA []byte, err error)
func (*GetAdminsRequest) MarshalToSizedBuffer ¶
func (m *GetAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAdminsRequest) ProtoMessage ¶
func (*GetAdminsRequest) ProtoMessage()
func (*GetAdminsRequest) Reset ¶
func (m *GetAdminsRequest) Reset()
func (*GetAdminsRequest) Size ¶
func (m *GetAdminsRequest) Size() (n int)
func (*GetAdminsRequest) String ¶
func (m *GetAdminsRequest) String() string
func (*GetAdminsRequest) Unmarshal ¶
func (m *GetAdminsRequest) Unmarshal(dAtA []byte) error
func (*GetAdminsRequest) XXX_DiscardUnknown ¶
func (m *GetAdminsRequest) XXX_DiscardUnknown()
func (*GetAdminsRequest) XXX_Marshal ¶
func (m *GetAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAdminsRequest) XXX_Merge ¶
func (m *GetAdminsRequest) XXX_Merge(src proto.Message)
func (*GetAdminsRequest) XXX_Size ¶
func (m *GetAdminsRequest) XXX_Size() int
func (*GetAdminsRequest) XXX_Unmarshal ¶
func (m *GetAdminsRequest) XXX_Unmarshal(b []byte) error
type GetAdminsResponse ¶
type GetAdminsResponse struct { // admins contains the list of cluster admins Admins []string `protobuf:"bytes,1,rep,name=admins,proto3" json:"admins,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAdminsResponse) Descriptor ¶
func (*GetAdminsResponse) Descriptor() ([]byte, []int)
func (*GetAdminsResponse) GetAdmins ¶
func (m *GetAdminsResponse) GetAdmins() []string
func (*GetAdminsResponse) Marshal ¶
func (m *GetAdminsResponse) Marshal() (dAtA []byte, err error)
func (*GetAdminsResponse) MarshalTo ¶
func (m *GetAdminsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAdminsResponse) MarshalToSizedBuffer ¶
func (m *GetAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAdminsResponse) ProtoMessage ¶
func (*GetAdminsResponse) ProtoMessage()
func (*GetAdminsResponse) Reset ¶
func (m *GetAdminsResponse) Reset()
func (*GetAdminsResponse) Size ¶
func (m *GetAdminsResponse) Size() (n int)
func (*GetAdminsResponse) String ¶
func (m *GetAdminsResponse) String() string
func (*GetAdminsResponse) Unmarshal ¶
func (m *GetAdminsResponse) Unmarshal(dAtA []byte) error
func (*GetAdminsResponse) XXX_DiscardUnknown ¶
func (m *GetAdminsResponse) XXX_DiscardUnknown()
func (*GetAdminsResponse) XXX_Marshal ¶
func (m *GetAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAdminsResponse) XXX_Merge ¶
func (m *GetAdminsResponse) XXX_Merge(src proto.Message)
func (*GetAdminsResponse) XXX_Size ¶
func (m *GetAdminsResponse) XXX_Size() int
func (*GetAdminsResponse) XXX_Unmarshal ¶
func (m *GetAdminsResponse) XXX_Unmarshal(b []byte) error
type GetAuthTokenRequest ¶
type GetAuthTokenRequest struct { // The returned token will allow the caller to access resources as this // subject Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // ttl indicates the approximate remaining lifetime of this token, in seconds TTL int64 `protobuf:"varint,2,opt,name=ttl,proto3" json:"ttl,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAuthTokenRequest) Descriptor ¶
func (*GetAuthTokenRequest) Descriptor() ([]byte, []int)
func (*GetAuthTokenRequest) GetSubject ¶
func (m *GetAuthTokenRequest) GetSubject() string
func (*GetAuthTokenRequest) GetTTL ¶
func (m *GetAuthTokenRequest) GetTTL() int64
func (*GetAuthTokenRequest) Marshal ¶
func (m *GetAuthTokenRequest) Marshal() (dAtA []byte, err error)
func (*GetAuthTokenRequest) MarshalTo ¶
func (m *GetAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthTokenRequest) MarshalToSizedBuffer ¶
func (m *GetAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthTokenRequest) ProtoMessage ¶
func (*GetAuthTokenRequest) ProtoMessage()
func (*GetAuthTokenRequest) Reset ¶
func (m *GetAuthTokenRequest) Reset()
func (*GetAuthTokenRequest) Size ¶
func (m *GetAuthTokenRequest) Size() (n int)
func (*GetAuthTokenRequest) String ¶
func (m *GetAuthTokenRequest) String() string
func (*GetAuthTokenRequest) Unmarshal ¶
func (m *GetAuthTokenRequest) Unmarshal(dAtA []byte) error
func (*GetAuthTokenRequest) XXX_DiscardUnknown ¶
func (m *GetAuthTokenRequest) XXX_DiscardUnknown()
func (*GetAuthTokenRequest) XXX_Marshal ¶
func (m *GetAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthTokenRequest) XXX_Merge ¶
func (m *GetAuthTokenRequest) XXX_Merge(src proto.Message)
func (*GetAuthTokenRequest) XXX_Size ¶
func (m *GetAuthTokenRequest) XXX_Size() int
func (*GetAuthTokenRequest) XXX_Unmarshal ¶
func (m *GetAuthTokenRequest) XXX_Unmarshal(b []byte) error
type GetAuthTokenResponse ¶
type GetAuthTokenResponse struct { // A canonicalized version of the subject in the request Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // A new auth token for the user in 'GetAuthTokenRequest.Subject' token Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAuthTokenResponse) Descriptor ¶
func (*GetAuthTokenResponse) Descriptor() ([]byte, []int)
func (*GetAuthTokenResponse) GetSubject ¶
func (m *GetAuthTokenResponse) GetSubject() string
func (*GetAuthTokenResponse) GetToken ¶
func (m *GetAuthTokenResponse) GetToken() string
func (*GetAuthTokenResponse) Marshal ¶
func (m *GetAuthTokenResponse) Marshal() (dAtA []byte, err error)
func (*GetAuthTokenResponse) MarshalTo ¶
func (m *GetAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetAuthTokenResponse) MarshalToSizedBuffer ¶
func (m *GetAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetAuthTokenResponse) ProtoMessage ¶
func (*GetAuthTokenResponse) ProtoMessage()
func (*GetAuthTokenResponse) Reset ¶
func (m *GetAuthTokenResponse) Reset()
func (*GetAuthTokenResponse) Size ¶
func (m *GetAuthTokenResponse) Size() (n int)
func (*GetAuthTokenResponse) String ¶
func (m *GetAuthTokenResponse) String() string
func (*GetAuthTokenResponse) Unmarshal ¶
func (m *GetAuthTokenResponse) Unmarshal(dAtA []byte) error
func (*GetAuthTokenResponse) XXX_DiscardUnknown ¶
func (m *GetAuthTokenResponse) XXX_DiscardUnknown()
func (*GetAuthTokenResponse) XXX_Marshal ¶
func (m *GetAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAuthTokenResponse) XXX_Merge ¶
func (m *GetAuthTokenResponse) XXX_Merge(src proto.Message)
func (*GetAuthTokenResponse) XXX_Size ¶
func (m *GetAuthTokenResponse) XXX_Size() int
func (*GetAuthTokenResponse) XXX_Unmarshal ¶
func (m *GetAuthTokenResponse) XXX_Unmarshal(b []byte) error
type GetConfigurationRequest ¶
type GetConfigurationRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigurationRequest) Descriptor ¶
func (*GetConfigurationRequest) Descriptor() ([]byte, []int)
func (*GetConfigurationRequest) Marshal ¶
func (m *GetConfigurationRequest) Marshal() (dAtA []byte, err error)
func (*GetConfigurationRequest) MarshalTo ¶
func (m *GetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetConfigurationRequest) MarshalToSizedBuffer ¶
func (m *GetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetConfigurationRequest) ProtoMessage ¶
func (*GetConfigurationRequest) ProtoMessage()
func (*GetConfigurationRequest) Reset ¶
func (m *GetConfigurationRequest) Reset()
func (*GetConfigurationRequest) Size ¶
func (m *GetConfigurationRequest) Size() (n int)
func (*GetConfigurationRequest) String ¶
func (m *GetConfigurationRequest) String() string
func (*GetConfigurationRequest) Unmarshal ¶
func (m *GetConfigurationRequest) Unmarshal(dAtA []byte) error
func (*GetConfigurationRequest) XXX_DiscardUnknown ¶
func (m *GetConfigurationRequest) XXX_DiscardUnknown()
func (*GetConfigurationRequest) XXX_Marshal ¶
func (m *GetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigurationRequest) XXX_Merge ¶
func (m *GetConfigurationRequest) XXX_Merge(src proto.Message)
func (*GetConfigurationRequest) XXX_Size ¶
func (m *GetConfigurationRequest) XXX_Size() int
func (*GetConfigurationRequest) XXX_Unmarshal ¶
func (m *GetConfigurationRequest) XXX_Unmarshal(b []byte) error
type GetConfigurationResponse ¶
type GetConfigurationResponse struct { Configuration *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetConfigurationResponse) Descriptor ¶
func (*GetConfigurationResponse) Descriptor() ([]byte, []int)
func (*GetConfigurationResponse) GetConfiguration ¶
func (m *GetConfigurationResponse) GetConfiguration() *AuthConfig
func (*GetConfigurationResponse) Marshal ¶
func (m *GetConfigurationResponse) Marshal() (dAtA []byte, err error)
func (*GetConfigurationResponse) MarshalTo ¶
func (m *GetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetConfigurationResponse) MarshalToSizedBuffer ¶
func (m *GetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetConfigurationResponse) ProtoMessage ¶
func (*GetConfigurationResponse) ProtoMessage()
func (*GetConfigurationResponse) Reset ¶
func (m *GetConfigurationResponse) Reset()
func (*GetConfigurationResponse) Size ¶
func (m *GetConfigurationResponse) Size() (n int)
func (*GetConfigurationResponse) String ¶
func (m *GetConfigurationResponse) String() string
func (*GetConfigurationResponse) Unmarshal ¶
func (m *GetConfigurationResponse) Unmarshal(dAtA []byte) error
func (*GetConfigurationResponse) XXX_DiscardUnknown ¶
func (m *GetConfigurationResponse) XXX_DiscardUnknown()
func (*GetConfigurationResponse) XXX_Marshal ¶
func (m *GetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetConfigurationResponse) XXX_Merge ¶
func (m *GetConfigurationResponse) XXX_Merge(src proto.Message)
func (*GetConfigurationResponse) XXX_Size ¶
func (m *GetConfigurationResponse) XXX_Size() int
func (*GetConfigurationResponse) XXX_Unmarshal ¶
func (m *GetConfigurationResponse) XXX_Unmarshal(b []byte) error
type GetGroupsRequest ¶
type GetGroupsRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupsRequest) Descriptor ¶
func (*GetGroupsRequest) Descriptor() ([]byte, []int)
func (*GetGroupsRequest) GetUsername ¶
func (m *GetGroupsRequest) GetUsername() string
func (*GetGroupsRequest) Marshal ¶
func (m *GetGroupsRequest) Marshal() (dAtA []byte, err error)
func (*GetGroupsRequest) MarshalToSizedBuffer ¶
func (m *GetGroupsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetGroupsRequest) ProtoMessage ¶
func (*GetGroupsRequest) ProtoMessage()
func (*GetGroupsRequest) Reset ¶
func (m *GetGroupsRequest) Reset()
func (*GetGroupsRequest) Size ¶
func (m *GetGroupsRequest) Size() (n int)
func (*GetGroupsRequest) String ¶
func (m *GetGroupsRequest) String() string
func (*GetGroupsRequest) Unmarshal ¶
func (m *GetGroupsRequest) Unmarshal(dAtA []byte) error
func (*GetGroupsRequest) XXX_DiscardUnknown ¶
func (m *GetGroupsRequest) XXX_DiscardUnknown()
func (*GetGroupsRequest) XXX_Marshal ¶
func (m *GetGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupsRequest) XXX_Merge ¶
func (m *GetGroupsRequest) XXX_Merge(src proto.Message)
func (*GetGroupsRequest) XXX_Size ¶
func (m *GetGroupsRequest) XXX_Size() int
func (*GetGroupsRequest) XXX_Unmarshal ¶
func (m *GetGroupsRequest) XXX_Unmarshal(b []byte) error
type GetGroupsResponse ¶
type GetGroupsResponse struct { Groups []string `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupsResponse) Descriptor ¶
func (*GetGroupsResponse) Descriptor() ([]byte, []int)
func (*GetGroupsResponse) GetGroups ¶
func (m *GetGroupsResponse) GetGroups() []string
func (*GetGroupsResponse) Marshal ¶
func (m *GetGroupsResponse) Marshal() (dAtA []byte, err error)
func (*GetGroupsResponse) MarshalTo ¶
func (m *GetGroupsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetGroupsResponse) MarshalToSizedBuffer ¶
func (m *GetGroupsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetGroupsResponse) ProtoMessage ¶
func (*GetGroupsResponse) ProtoMessage()
func (*GetGroupsResponse) Reset ¶
func (m *GetGroupsResponse) Reset()
func (*GetGroupsResponse) Size ¶
func (m *GetGroupsResponse) Size() (n int)
func (*GetGroupsResponse) String ¶
func (m *GetGroupsResponse) String() string
func (*GetGroupsResponse) Unmarshal ¶
func (m *GetGroupsResponse) Unmarshal(dAtA []byte) error
func (*GetGroupsResponse) XXX_DiscardUnknown ¶
func (m *GetGroupsResponse) XXX_DiscardUnknown()
func (*GetGroupsResponse) XXX_Marshal ¶
func (m *GetGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupsResponse) XXX_Merge ¶
func (m *GetGroupsResponse) XXX_Merge(src proto.Message)
func (*GetGroupsResponse) XXX_Size ¶
func (m *GetGroupsResponse) XXX_Size() int
func (*GetGroupsResponse) XXX_Unmarshal ¶
func (m *GetGroupsResponse) XXX_Unmarshal(b []byte) error
type GetOneTimePasswordRequest ¶
type GetOneTimePasswordRequest struct { // If the caller is an admin, GetOneTimePassword() can return a code for // any user (useful for testing). // If the caller is not an admin, GetOneTimePassword() will return an // authentication code for the caller if username is unset or set to the // caller's username (and will return an error otherwise) Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
GetOneTimePassword allows users to generate short-lived (~30s) tokens that can be passed to Authenticate() (via AuthenticateRequest.one_time_password) and exchanged for a longer-lived pachyderm token. This is more secure than GetAuthToken, which produces long-lived authorization tokens.
func (*GetOneTimePasswordRequest) Descriptor ¶
func (*GetOneTimePasswordRequest) Descriptor() ([]byte, []int)
func (*GetOneTimePasswordRequest) GetSubject ¶
func (m *GetOneTimePasswordRequest) GetSubject() string
func (*GetOneTimePasswordRequest) Marshal ¶
func (m *GetOneTimePasswordRequest) Marshal() (dAtA []byte, err error)
func (*GetOneTimePasswordRequest) MarshalTo ¶
func (m *GetOneTimePasswordRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetOneTimePasswordRequest) MarshalToSizedBuffer ¶
func (m *GetOneTimePasswordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetOneTimePasswordRequest) ProtoMessage ¶
func (*GetOneTimePasswordRequest) ProtoMessage()
func (*GetOneTimePasswordRequest) Reset ¶
func (m *GetOneTimePasswordRequest) Reset()
func (*GetOneTimePasswordRequest) Size ¶
func (m *GetOneTimePasswordRequest) Size() (n int)
func (*GetOneTimePasswordRequest) String ¶
func (m *GetOneTimePasswordRequest) String() string
func (*GetOneTimePasswordRequest) Unmarshal ¶
func (m *GetOneTimePasswordRequest) Unmarshal(dAtA []byte) error
func (*GetOneTimePasswordRequest) XXX_DiscardUnknown ¶
func (m *GetOneTimePasswordRequest) XXX_DiscardUnknown()
func (*GetOneTimePasswordRequest) XXX_Marshal ¶
func (m *GetOneTimePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOneTimePasswordRequest) XXX_Merge ¶
func (m *GetOneTimePasswordRequest) XXX_Merge(src proto.Message)
func (*GetOneTimePasswordRequest) XXX_Size ¶
func (m *GetOneTimePasswordRequest) XXX_Size() int
func (*GetOneTimePasswordRequest) XXX_Unmarshal ¶
func (m *GetOneTimePasswordRequest) XXX_Unmarshal(b []byte) error
type GetOneTimePasswordResponse ¶
type GetOneTimePasswordResponse struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetOneTimePasswordResponse) Descriptor ¶
func (*GetOneTimePasswordResponse) Descriptor() ([]byte, []int)
func (*GetOneTimePasswordResponse) GetCode ¶
func (m *GetOneTimePasswordResponse) GetCode() string
func (*GetOneTimePasswordResponse) Marshal ¶
func (m *GetOneTimePasswordResponse) Marshal() (dAtA []byte, err error)
func (*GetOneTimePasswordResponse) MarshalTo ¶
func (m *GetOneTimePasswordResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetOneTimePasswordResponse) MarshalToSizedBuffer ¶
func (m *GetOneTimePasswordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetOneTimePasswordResponse) ProtoMessage ¶
func (*GetOneTimePasswordResponse) ProtoMessage()
func (*GetOneTimePasswordResponse) Reset ¶
func (m *GetOneTimePasswordResponse) Reset()
func (*GetOneTimePasswordResponse) Size ¶
func (m *GetOneTimePasswordResponse) Size() (n int)
func (*GetOneTimePasswordResponse) String ¶
func (m *GetOneTimePasswordResponse) String() string
func (*GetOneTimePasswordResponse) Unmarshal ¶
func (m *GetOneTimePasswordResponse) Unmarshal(dAtA []byte) error
func (*GetOneTimePasswordResponse) XXX_DiscardUnknown ¶
func (m *GetOneTimePasswordResponse) XXX_DiscardUnknown()
func (*GetOneTimePasswordResponse) XXX_Marshal ¶
func (m *GetOneTimePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetOneTimePasswordResponse) XXX_Merge ¶
func (m *GetOneTimePasswordResponse) XXX_Merge(src proto.Message)
func (*GetOneTimePasswordResponse) XXX_Size ¶
func (m *GetOneTimePasswordResponse) XXX_Size() int
func (*GetOneTimePasswordResponse) XXX_Unmarshal ¶
func (m *GetOneTimePasswordResponse) XXX_Unmarshal(b []byte) error
type GetScopeRequest ¶
type GetScopeRequest struct { // username is the principal (some of which belong to robots rather than // users, but the name is preserved for now to provide compatibility with the // pachyderm dash) whose access level is queried. To query the access level // of a robot user, the caller must prefix username with "robot:". If // 'username' has no prefix (i.e. no ":"), then it's assumed to be a github // user's principal. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // repos are the objects to which 'username's access level is being queried Repos []string `protobuf:"bytes,2,rep,name=repos,proto3" json:"repos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetScopeRequest) Descriptor ¶
func (*GetScopeRequest) Descriptor() ([]byte, []int)
func (*GetScopeRequest) GetRepos ¶
func (m *GetScopeRequest) GetRepos() []string
func (*GetScopeRequest) GetUsername ¶
func (m *GetScopeRequest) GetUsername() string
func (*GetScopeRequest) Marshal ¶
func (m *GetScopeRequest) Marshal() (dAtA []byte, err error)
func (*GetScopeRequest) MarshalToSizedBuffer ¶
func (m *GetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetScopeRequest) ProtoMessage ¶
func (*GetScopeRequest) ProtoMessage()
func (*GetScopeRequest) Reset ¶
func (m *GetScopeRequest) Reset()
func (*GetScopeRequest) Size ¶
func (m *GetScopeRequest) Size() (n int)
func (*GetScopeRequest) String ¶
func (m *GetScopeRequest) String() string
func (*GetScopeRequest) Unmarshal ¶
func (m *GetScopeRequest) Unmarshal(dAtA []byte) error
func (*GetScopeRequest) XXX_DiscardUnknown ¶
func (m *GetScopeRequest) XXX_DiscardUnknown()
func (*GetScopeRequest) XXX_Marshal ¶
func (m *GetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetScopeRequest) XXX_Merge ¶
func (m *GetScopeRequest) XXX_Merge(src proto.Message)
func (*GetScopeRequest) XXX_Size ¶
func (m *GetScopeRequest) XXX_Size() int
func (*GetScopeRequest) XXX_Unmarshal ¶
func (m *GetScopeRequest) XXX_Unmarshal(b []byte) error
type GetScopeResponse ¶
type GetScopeResponse struct { // scopes (actually a "role"--see "Scope") are the access level that // 'GetScopeRequest.username' has to each repo in 'GetScopeRequest.repos', in // the same order that repos appeared in 'repos'. Scopes []Scope `protobuf:"varint,1,rep,packed,name=scopes,proto3,enum=auth_1_7.Scope" json:"scopes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetScopeResponse) Descriptor ¶
func (*GetScopeResponse) Descriptor() ([]byte, []int)
func (*GetScopeResponse) GetScopes ¶
func (m *GetScopeResponse) GetScopes() []Scope
func (*GetScopeResponse) Marshal ¶
func (m *GetScopeResponse) Marshal() (dAtA []byte, err error)
func (*GetScopeResponse) MarshalToSizedBuffer ¶
func (m *GetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetScopeResponse) ProtoMessage ¶
func (*GetScopeResponse) ProtoMessage()
func (*GetScopeResponse) Reset ¶
func (m *GetScopeResponse) Reset()
func (*GetScopeResponse) Size ¶
func (m *GetScopeResponse) Size() (n int)
func (*GetScopeResponse) String ¶
func (m *GetScopeResponse) String() string
func (*GetScopeResponse) Unmarshal ¶
func (m *GetScopeResponse) Unmarshal(dAtA []byte) error
func (*GetScopeResponse) XXX_DiscardUnknown ¶
func (m *GetScopeResponse) XXX_DiscardUnknown()
func (*GetScopeResponse) XXX_Marshal ¶
func (m *GetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetScopeResponse) XXX_Merge ¶
func (m *GetScopeResponse) XXX_Merge(src proto.Message)
func (*GetScopeResponse) XXX_Size ¶
func (m *GetScopeResponse) XXX_Size() int
func (*GetScopeResponse) XXX_Unmarshal ¶
func (m *GetScopeResponse) XXX_Unmarshal(b []byte) error
type GetUsersRequest ¶
type GetUsersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUsersRequest) Descriptor ¶
func (*GetUsersRequest) Descriptor() ([]byte, []int)
func (*GetUsersRequest) GetGroup ¶
func (m *GetUsersRequest) GetGroup() string
func (*GetUsersRequest) Marshal ¶
func (m *GetUsersRequest) Marshal() (dAtA []byte, err error)
func (*GetUsersRequest) MarshalToSizedBuffer ¶
func (m *GetUsersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) Reset ¶
func (m *GetUsersRequest) Reset()
func (*GetUsersRequest) Size ¶
func (m *GetUsersRequest) Size() (n int)
func (*GetUsersRequest) String ¶
func (m *GetUsersRequest) String() string
func (*GetUsersRequest) Unmarshal ¶
func (m *GetUsersRequest) Unmarshal(dAtA []byte) error
func (*GetUsersRequest) XXX_DiscardUnknown ¶
func (m *GetUsersRequest) XXX_DiscardUnknown()
func (*GetUsersRequest) XXX_Marshal ¶
func (m *GetUsersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUsersRequest) XXX_Merge ¶
func (m *GetUsersRequest) XXX_Merge(src proto.Message)
func (*GetUsersRequest) XXX_Size ¶
func (m *GetUsersRequest) XXX_Size() int
func (*GetUsersRequest) XXX_Unmarshal ¶
func (m *GetUsersRequest) XXX_Unmarshal(b []byte) error
type GetUsersResponse ¶
type GetUsersResponse struct { Usernames []string `protobuf:"bytes,1,rep,name=usernames,proto3" json:"usernames,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetUsersResponse) Descriptor ¶
func (*GetUsersResponse) Descriptor() ([]byte, []int)
func (*GetUsersResponse) GetUsernames ¶
func (m *GetUsersResponse) GetUsernames() []string
func (*GetUsersResponse) Marshal ¶
func (m *GetUsersResponse) Marshal() (dAtA []byte, err error)
func (*GetUsersResponse) MarshalToSizedBuffer ¶
func (m *GetUsersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) Reset ¶
func (m *GetUsersResponse) Reset()
func (*GetUsersResponse) Size ¶
func (m *GetUsersResponse) Size() (n int)
func (*GetUsersResponse) String ¶
func (m *GetUsersResponse) String() string
func (*GetUsersResponse) Unmarshal ¶
func (m *GetUsersResponse) Unmarshal(dAtA []byte) error
func (*GetUsersResponse) XXX_DiscardUnknown ¶
func (m *GetUsersResponse) XXX_DiscardUnknown()
func (*GetUsersResponse) XXX_Marshal ¶
func (m *GetUsersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetUsersResponse) XXX_Merge ¶
func (m *GetUsersResponse) XXX_Merge(src proto.Message)
func (*GetUsersResponse) XXX_Size ¶
func (m *GetUsersResponse) XXX_Size() int
func (*GetUsersResponse) XXX_Unmarshal ¶
func (m *GetUsersResponse) XXX_Unmarshal(b []byte) error
type Groups ¶
type Groups struct { Groups map[string]bool `` /* 154-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Groups) Descriptor ¶
func (*Groups) MarshalToSizedBuffer ¶
func (*Groups) ProtoMessage ¶
func (*Groups) ProtoMessage()
func (*Groups) XXX_DiscardUnknown ¶
func (m *Groups) XXX_DiscardUnknown()
func (*Groups) XXX_Marshal ¶
func (*Groups) XXX_Unmarshal ¶
type IDProvider ¶
type IDProvider struct { // Name identifies this authentication backend in Pachyderm. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description is a human-readable description of this authentication // backend. It's ignored by Pachyderm, but exists for the benefit of users // configuring Pachyderm's auth system. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` SAML *IDProvider_SAMLOptions `protobuf:"bytes,3,opt,name=saml,proto3" json:"saml,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IDProvider configures a single ID provider that can authenticate Pachyderm users
func (*IDProvider) Descriptor ¶
func (*IDProvider) Descriptor() ([]byte, []int)
func (*IDProvider) GetDescription ¶
func (m *IDProvider) GetDescription() string
func (*IDProvider) GetName ¶
func (m *IDProvider) GetName() string
func (*IDProvider) GetSAML ¶
func (m *IDProvider) GetSAML() *IDProvider_SAMLOptions
func (*IDProvider) Marshal ¶
func (m *IDProvider) Marshal() (dAtA []byte, err error)
func (*IDProvider) MarshalToSizedBuffer ¶
func (m *IDProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IDProvider) ProtoMessage ¶
func (*IDProvider) ProtoMessage()
func (*IDProvider) Reset ¶
func (m *IDProvider) Reset()
func (*IDProvider) Size ¶
func (m *IDProvider) Size() (n int)
func (*IDProvider) String ¶
func (m *IDProvider) String() string
func (*IDProvider) Unmarshal ¶
func (m *IDProvider) Unmarshal(dAtA []byte) error
func (*IDProvider) XXX_DiscardUnknown ¶
func (m *IDProvider) XXX_DiscardUnknown()
func (*IDProvider) XXX_Marshal ¶
func (m *IDProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IDProvider) XXX_Merge ¶
func (m *IDProvider) XXX_Merge(src proto.Message)
func (*IDProvider) XXX_Size ¶
func (m *IDProvider) XXX_Size() int
func (*IDProvider) XXX_Unmarshal ¶
func (m *IDProvider) XXX_Unmarshal(b []byte) error
type IDProvider_SAMLOptions ¶
type IDProvider_SAMLOptions struct { // metadata_url is the URL of the SAML ID provider's metadata service // (which Pachd can query to get more info about the SAML ID provider) MetadataURL string `protobuf:"bytes,1,opt,name=metadata_url,json=metadataUrl,proto3" json:"metadata_url,omitempty"` // metadata_xml is a direct reproduction of the ID provider's metadata. // Users can set this field in the argument to SetConfig if the ID provider // can't be reached from pachd (e.g. because it's on a separate network to // which Pachyderm users also have access) or for testing. Exactly one of // metadata_url and metadata_xml should be set in calls to SetConfig, but // internally, if metadata_url is set, the result of scraping the metadata // URL will be placed here in the result from GetConfig(). MetadataXML []byte `protobuf:"bytes,2,opt,name=metadata_xml,json=metadataXml,proto3" json:"metadata_xml,omitempty"` // If this ID provider supports sending group memberships via attribute, // then users can set group_attribute to the SAML attribute that indicates // group mmbership, and Pachyderm will update users' group memberships when // they authenticate. GroupAttribute string `protobuf:"bytes,3,opt,name=group_attribute,json=groupAttribute,proto3" json:"group_attribute,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SAMLOptions describes a SAML-based identity provider
func (*IDProvider_SAMLOptions) Descriptor ¶
func (*IDProvider_SAMLOptions) Descriptor() ([]byte, []int)
func (*IDProvider_SAMLOptions) GetGroupAttribute ¶
func (m *IDProvider_SAMLOptions) GetGroupAttribute() string
func (*IDProvider_SAMLOptions) GetMetadataURL ¶
func (m *IDProvider_SAMLOptions) GetMetadataURL() string
func (*IDProvider_SAMLOptions) GetMetadataXML ¶
func (m *IDProvider_SAMLOptions) GetMetadataXML() []byte
func (*IDProvider_SAMLOptions) Marshal ¶
func (m *IDProvider_SAMLOptions) Marshal() (dAtA []byte, err error)
func (*IDProvider_SAMLOptions) MarshalTo ¶
func (m *IDProvider_SAMLOptions) MarshalTo(dAtA []byte) (int, error)
func (*IDProvider_SAMLOptions) MarshalToSizedBuffer ¶
func (m *IDProvider_SAMLOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IDProvider_SAMLOptions) ProtoMessage ¶
func (*IDProvider_SAMLOptions) ProtoMessage()
func (*IDProvider_SAMLOptions) Reset ¶
func (m *IDProvider_SAMLOptions) Reset()
func (*IDProvider_SAMLOptions) Size ¶
func (m *IDProvider_SAMLOptions) Size() (n int)
func (*IDProvider_SAMLOptions) String ¶
func (m *IDProvider_SAMLOptions) String() string
func (*IDProvider_SAMLOptions) Unmarshal ¶
func (m *IDProvider_SAMLOptions) Unmarshal(dAtA []byte) error
func (*IDProvider_SAMLOptions) XXX_DiscardUnknown ¶
func (m *IDProvider_SAMLOptions) XXX_DiscardUnknown()
func (*IDProvider_SAMLOptions) XXX_Marshal ¶
func (m *IDProvider_SAMLOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IDProvider_SAMLOptions) XXX_Merge ¶
func (m *IDProvider_SAMLOptions) XXX_Merge(src proto.Message)
func (*IDProvider_SAMLOptions) XXX_Size ¶
func (m *IDProvider_SAMLOptions) XXX_Size() int
func (*IDProvider_SAMLOptions) XXX_Unmarshal ¶
func (m *IDProvider_SAMLOptions) XXX_Unmarshal(b []byte) error
type ModifyAdminsRequest ¶
type ModifyAdminsRequest struct { Add []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"` Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Add or remove cluster admins
func (*ModifyAdminsRequest) Descriptor ¶
func (*ModifyAdminsRequest) Descriptor() ([]byte, []int)
func (*ModifyAdminsRequest) GetAdd ¶
func (m *ModifyAdminsRequest) GetAdd() []string
func (*ModifyAdminsRequest) GetRemove ¶
func (m *ModifyAdminsRequest) GetRemove() []string
func (*ModifyAdminsRequest) Marshal ¶
func (m *ModifyAdminsRequest) Marshal() (dAtA []byte, err error)
func (*ModifyAdminsRequest) MarshalTo ¶
func (m *ModifyAdminsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ModifyAdminsRequest) MarshalToSizedBuffer ¶
func (m *ModifyAdminsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyAdminsRequest) ProtoMessage ¶
func (*ModifyAdminsRequest) ProtoMessage()
func (*ModifyAdminsRequest) Reset ¶
func (m *ModifyAdminsRequest) Reset()
func (*ModifyAdminsRequest) Size ¶
func (m *ModifyAdminsRequest) Size() (n int)
func (*ModifyAdminsRequest) String ¶
func (m *ModifyAdminsRequest) String() string
func (*ModifyAdminsRequest) Unmarshal ¶
func (m *ModifyAdminsRequest) Unmarshal(dAtA []byte) error
func (*ModifyAdminsRequest) XXX_DiscardUnknown ¶
func (m *ModifyAdminsRequest) XXX_DiscardUnknown()
func (*ModifyAdminsRequest) XXX_Marshal ¶
func (m *ModifyAdminsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyAdminsRequest) XXX_Merge ¶
func (m *ModifyAdminsRequest) XXX_Merge(src proto.Message)
func (*ModifyAdminsRequest) XXX_Size ¶
func (m *ModifyAdminsRequest) XXX_Size() int
func (*ModifyAdminsRequest) XXX_Unmarshal ¶
func (m *ModifyAdminsRequest) XXX_Unmarshal(b []byte) error
type ModifyAdminsResponse ¶
type ModifyAdminsResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyAdminsResponse) Descriptor ¶
func (*ModifyAdminsResponse) Descriptor() ([]byte, []int)
func (*ModifyAdminsResponse) Marshal ¶
func (m *ModifyAdminsResponse) Marshal() (dAtA []byte, err error)
func (*ModifyAdminsResponse) MarshalTo ¶
func (m *ModifyAdminsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModifyAdminsResponse) MarshalToSizedBuffer ¶
func (m *ModifyAdminsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyAdminsResponse) ProtoMessage ¶
func (*ModifyAdminsResponse) ProtoMessage()
func (*ModifyAdminsResponse) Reset ¶
func (m *ModifyAdminsResponse) Reset()
func (*ModifyAdminsResponse) Size ¶
func (m *ModifyAdminsResponse) Size() (n int)
func (*ModifyAdminsResponse) String ¶
func (m *ModifyAdminsResponse) String() string
func (*ModifyAdminsResponse) Unmarshal ¶
func (m *ModifyAdminsResponse) Unmarshal(dAtA []byte) error
func (*ModifyAdminsResponse) XXX_DiscardUnknown ¶
func (m *ModifyAdminsResponse) XXX_DiscardUnknown()
func (*ModifyAdminsResponse) XXX_Marshal ¶
func (m *ModifyAdminsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyAdminsResponse) XXX_Merge ¶
func (m *ModifyAdminsResponse) XXX_Merge(src proto.Message)
func (*ModifyAdminsResponse) XXX_Size ¶
func (m *ModifyAdminsResponse) XXX_Size() int
func (*ModifyAdminsResponse) XXX_Unmarshal ¶
func (m *ModifyAdminsResponse) XXX_Unmarshal(b []byte) error
type ModifyMembersRequest ¶
type ModifyMembersRequest struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Add []string `protobuf:"bytes,2,rep,name=add,proto3" json:"add,omitempty"` Remove []string `protobuf:"bytes,3,rep,name=remove,proto3" json:"remove,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyMembersRequest) Descriptor ¶
func (*ModifyMembersRequest) Descriptor() ([]byte, []int)
func (*ModifyMembersRequest) GetAdd ¶
func (m *ModifyMembersRequest) GetAdd() []string
func (*ModifyMembersRequest) GetGroup ¶
func (m *ModifyMembersRequest) GetGroup() string
func (*ModifyMembersRequest) GetRemove ¶
func (m *ModifyMembersRequest) GetRemove() []string
func (*ModifyMembersRequest) Marshal ¶
func (m *ModifyMembersRequest) Marshal() (dAtA []byte, err error)
func (*ModifyMembersRequest) MarshalTo ¶
func (m *ModifyMembersRequest) MarshalTo(dAtA []byte) (int, error)
func (*ModifyMembersRequest) MarshalToSizedBuffer ¶
func (m *ModifyMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyMembersRequest) ProtoMessage ¶
func (*ModifyMembersRequest) ProtoMessage()
func (*ModifyMembersRequest) Reset ¶
func (m *ModifyMembersRequest) Reset()
func (*ModifyMembersRequest) Size ¶
func (m *ModifyMembersRequest) Size() (n int)
func (*ModifyMembersRequest) String ¶
func (m *ModifyMembersRequest) String() string
func (*ModifyMembersRequest) Unmarshal ¶
func (m *ModifyMembersRequest) Unmarshal(dAtA []byte) error
func (*ModifyMembersRequest) XXX_DiscardUnknown ¶
func (m *ModifyMembersRequest) XXX_DiscardUnknown()
func (*ModifyMembersRequest) XXX_Marshal ¶
func (m *ModifyMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyMembersRequest) XXX_Merge ¶
func (m *ModifyMembersRequest) XXX_Merge(src proto.Message)
func (*ModifyMembersRequest) XXX_Size ¶
func (m *ModifyMembersRequest) XXX_Size() int
func (*ModifyMembersRequest) XXX_Unmarshal ¶
func (m *ModifyMembersRequest) XXX_Unmarshal(b []byte) error
type ModifyMembersResponse ¶
type ModifyMembersResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ModifyMembersResponse) Descriptor ¶
func (*ModifyMembersResponse) Descriptor() ([]byte, []int)
func (*ModifyMembersResponse) Marshal ¶
func (m *ModifyMembersResponse) Marshal() (dAtA []byte, err error)
func (*ModifyMembersResponse) MarshalTo ¶
func (m *ModifyMembersResponse) MarshalTo(dAtA []byte) (int, error)
func (*ModifyMembersResponse) MarshalToSizedBuffer ¶
func (m *ModifyMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModifyMembersResponse) ProtoMessage ¶
func (*ModifyMembersResponse) ProtoMessage()
func (*ModifyMembersResponse) Reset ¶
func (m *ModifyMembersResponse) Reset()
func (*ModifyMembersResponse) Size ¶
func (m *ModifyMembersResponse) Size() (n int)
func (*ModifyMembersResponse) String ¶
func (m *ModifyMembersResponse) String() string
func (*ModifyMembersResponse) Unmarshal ¶
func (m *ModifyMembersResponse) Unmarshal(dAtA []byte) error
func (*ModifyMembersResponse) XXX_DiscardUnknown ¶
func (m *ModifyMembersResponse) XXX_DiscardUnknown()
func (*ModifyMembersResponse) XXX_Marshal ¶
func (m *ModifyMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModifyMembersResponse) XXX_Merge ¶
func (m *ModifyMembersResponse) XXX_Merge(src proto.Message)
func (*ModifyMembersResponse) XXX_Size ¶
func (m *ModifyMembersResponse) XXX_Size() int
func (*ModifyMembersResponse) XXX_Unmarshal ¶
func (m *ModifyMembersResponse) XXX_Unmarshal(b []byte) error
type OTPInfo ¶
type OTPInfo struct { // Subject (i.e. Pachyderm account) that a given OTP authenticates. This may // be copied into the 'subject' field of a TokenInfo, and therefore has the // same format, with the same prefixes. Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // session_expiration indicates when the subject's session expires, a.k.a. // when the Token to which this OTP converts expires (likely later than this // OTP expires, but never earlier). SessionExpiration *types.Timestamp `protobuf:"bytes,2,opt,name=session_expiration,json=sessionExpiration,proto3" json:"session_expiration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
OTPInfo is the analogue of 'TokenInfo' for Authentication Codes (short-lived, one-time-use codes that are passed to the frontend and then exchanged for longer-lived tokens)
func (*OTPInfo) Descriptor ¶
func (*OTPInfo) GetSessionExpiration ¶
func (*OTPInfo) GetSubject ¶
func (*OTPInfo) MarshalToSizedBuffer ¶
func (*OTPInfo) ProtoMessage ¶
func (*OTPInfo) ProtoMessage()
func (*OTPInfo) XXX_DiscardUnknown ¶
func (m *OTPInfo) XXX_DiscardUnknown()
func (*OTPInfo) XXX_Marshal ¶
func (*OTPInfo) XXX_Unmarshal ¶
type RevokeAuthTokenRequest ¶
type RevokeAuthTokenRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RevokeAuthTokenRequest) Descriptor ¶
func (*RevokeAuthTokenRequest) Descriptor() ([]byte, []int)
func (*RevokeAuthTokenRequest) GetToken ¶
func (m *RevokeAuthTokenRequest) GetToken() string
func (*RevokeAuthTokenRequest) Marshal ¶
func (m *RevokeAuthTokenRequest) Marshal() (dAtA []byte, err error)
func (*RevokeAuthTokenRequest) MarshalTo ¶
func (m *RevokeAuthTokenRequest) MarshalTo(dAtA []byte) (int, error)
func (*RevokeAuthTokenRequest) MarshalToSizedBuffer ¶
func (m *RevokeAuthTokenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeAuthTokenRequest) ProtoMessage ¶
func (*RevokeAuthTokenRequest) ProtoMessage()
func (*RevokeAuthTokenRequest) Reset ¶
func (m *RevokeAuthTokenRequest) Reset()
func (*RevokeAuthTokenRequest) Size ¶
func (m *RevokeAuthTokenRequest) Size() (n int)
func (*RevokeAuthTokenRequest) String ¶
func (m *RevokeAuthTokenRequest) String() string
func (*RevokeAuthTokenRequest) Unmarshal ¶
func (m *RevokeAuthTokenRequest) Unmarshal(dAtA []byte) error
func (*RevokeAuthTokenRequest) XXX_DiscardUnknown ¶
func (m *RevokeAuthTokenRequest) XXX_DiscardUnknown()
func (*RevokeAuthTokenRequest) XXX_Marshal ¶
func (m *RevokeAuthTokenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeAuthTokenRequest) XXX_Merge ¶
func (m *RevokeAuthTokenRequest) XXX_Merge(src proto.Message)
func (*RevokeAuthTokenRequest) XXX_Size ¶
func (m *RevokeAuthTokenRequest) XXX_Size() int
func (*RevokeAuthTokenRequest) XXX_Unmarshal ¶
func (m *RevokeAuthTokenRequest) XXX_Unmarshal(b []byte) error
type RevokeAuthTokenResponse ¶
type RevokeAuthTokenResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RevokeAuthTokenResponse) Descriptor ¶
func (*RevokeAuthTokenResponse) Descriptor() ([]byte, []int)
func (*RevokeAuthTokenResponse) Marshal ¶
func (m *RevokeAuthTokenResponse) Marshal() (dAtA []byte, err error)
func (*RevokeAuthTokenResponse) MarshalTo ¶
func (m *RevokeAuthTokenResponse) MarshalTo(dAtA []byte) (int, error)
func (*RevokeAuthTokenResponse) MarshalToSizedBuffer ¶
func (m *RevokeAuthTokenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RevokeAuthTokenResponse) ProtoMessage ¶
func (*RevokeAuthTokenResponse) ProtoMessage()
func (*RevokeAuthTokenResponse) Reset ¶
func (m *RevokeAuthTokenResponse) Reset()
func (*RevokeAuthTokenResponse) Size ¶
func (m *RevokeAuthTokenResponse) Size() (n int)
func (*RevokeAuthTokenResponse) String ¶
func (m *RevokeAuthTokenResponse) String() string
func (*RevokeAuthTokenResponse) Unmarshal ¶
func (m *RevokeAuthTokenResponse) Unmarshal(dAtA []byte) error
func (*RevokeAuthTokenResponse) XXX_DiscardUnknown ¶
func (m *RevokeAuthTokenResponse) XXX_DiscardUnknown()
func (*RevokeAuthTokenResponse) XXX_Marshal ¶
func (m *RevokeAuthTokenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RevokeAuthTokenResponse) XXX_Merge ¶
func (m *RevokeAuthTokenResponse) XXX_Merge(src proto.Message)
func (*RevokeAuthTokenResponse) XXX_Size ¶
func (m *RevokeAuthTokenResponse) XXX_Size() int
func (*RevokeAuthTokenResponse) XXX_Unmarshal ¶
func (m *RevokeAuthTokenResponse) XXX_Unmarshal(b []byte) error
type Scope ¶
type Scope int32
Scope (actually a "role" in canonical security nomenclature) represents a rough level of access that a principal has to a repo
func (Scope) EnumDescriptor ¶
type SetACLRequest ¶
type SetACLRequest struct { Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` Entries []*ACLEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetACLRequest) Descriptor ¶
func (*SetACLRequest) Descriptor() ([]byte, []int)
func (*SetACLRequest) GetEntries ¶
func (m *SetACLRequest) GetEntries() []*ACLEntry
func (*SetACLRequest) GetRepo ¶
func (m *SetACLRequest) GetRepo() string
func (*SetACLRequest) Marshal ¶
func (m *SetACLRequest) Marshal() (dAtA []byte, err error)
func (*SetACLRequest) MarshalToSizedBuffer ¶
func (m *SetACLRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetACLRequest) ProtoMessage ¶
func (*SetACLRequest) ProtoMessage()
func (*SetACLRequest) Reset ¶
func (m *SetACLRequest) Reset()
func (*SetACLRequest) Size ¶
func (m *SetACLRequest) Size() (n int)
func (*SetACLRequest) String ¶
func (m *SetACLRequest) String() string
func (*SetACLRequest) Unmarshal ¶
func (m *SetACLRequest) Unmarshal(dAtA []byte) error
func (*SetACLRequest) XXX_DiscardUnknown ¶
func (m *SetACLRequest) XXX_DiscardUnknown()
func (*SetACLRequest) XXX_Marshal ¶
func (m *SetACLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetACLRequest) XXX_Merge ¶
func (m *SetACLRequest) XXX_Merge(src proto.Message)
func (*SetACLRequest) XXX_Size ¶
func (m *SetACLRequest) XXX_Size() int
func (*SetACLRequest) XXX_Unmarshal ¶
func (m *SetACLRequest) XXX_Unmarshal(b []byte) error
type SetACLResponse ¶
type SetACLResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetACLResponse) Descriptor ¶
func (*SetACLResponse) Descriptor() ([]byte, []int)
func (*SetACLResponse) Marshal ¶
func (m *SetACLResponse) Marshal() (dAtA []byte, err error)
func (*SetACLResponse) MarshalToSizedBuffer ¶
func (m *SetACLResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetACLResponse) ProtoMessage ¶
func (*SetACLResponse) ProtoMessage()
func (*SetACLResponse) Reset ¶
func (m *SetACLResponse) Reset()
func (*SetACLResponse) Size ¶
func (m *SetACLResponse) Size() (n int)
func (*SetACLResponse) String ¶
func (m *SetACLResponse) String() string
func (*SetACLResponse) Unmarshal ¶
func (m *SetACLResponse) Unmarshal(dAtA []byte) error
func (*SetACLResponse) XXX_DiscardUnknown ¶
func (m *SetACLResponse) XXX_DiscardUnknown()
func (*SetACLResponse) XXX_Marshal ¶
func (m *SetACLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetACLResponse) XXX_Merge ¶
func (m *SetACLResponse) XXX_Merge(src proto.Message)
func (*SetACLResponse) XXX_Size ¶
func (m *SetACLResponse) XXX_Size() int
func (*SetACLResponse) XXX_Unmarshal ¶
func (m *SetACLResponse) XXX_Unmarshal(b []byte) error
type SetConfigurationRequest ¶
type SetConfigurationRequest struct { Configuration *AuthConfig `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigurationRequest) Descriptor ¶
func (*SetConfigurationRequest) Descriptor() ([]byte, []int)
func (*SetConfigurationRequest) GetConfiguration ¶
func (m *SetConfigurationRequest) GetConfiguration() *AuthConfig
func (*SetConfigurationRequest) Marshal ¶
func (m *SetConfigurationRequest) Marshal() (dAtA []byte, err error)
func (*SetConfigurationRequest) MarshalTo ¶
func (m *SetConfigurationRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetConfigurationRequest) MarshalToSizedBuffer ¶
func (m *SetConfigurationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetConfigurationRequest) ProtoMessage ¶
func (*SetConfigurationRequest) ProtoMessage()
func (*SetConfigurationRequest) Reset ¶
func (m *SetConfigurationRequest) Reset()
func (*SetConfigurationRequest) Size ¶
func (m *SetConfigurationRequest) Size() (n int)
func (*SetConfigurationRequest) String ¶
func (m *SetConfigurationRequest) String() string
func (*SetConfigurationRequest) Unmarshal ¶
func (m *SetConfigurationRequest) Unmarshal(dAtA []byte) error
func (*SetConfigurationRequest) XXX_DiscardUnknown ¶
func (m *SetConfigurationRequest) XXX_DiscardUnknown()
func (*SetConfigurationRequest) XXX_Marshal ¶
func (m *SetConfigurationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigurationRequest) XXX_Merge ¶
func (m *SetConfigurationRequest) XXX_Merge(src proto.Message)
func (*SetConfigurationRequest) XXX_Size ¶
func (m *SetConfigurationRequest) XXX_Size() int
func (*SetConfigurationRequest) XXX_Unmarshal ¶
func (m *SetConfigurationRequest) XXX_Unmarshal(b []byte) error
type SetConfigurationResponse ¶
type SetConfigurationResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetConfigurationResponse) Descriptor ¶
func (*SetConfigurationResponse) Descriptor() ([]byte, []int)
func (*SetConfigurationResponse) Marshal ¶
func (m *SetConfigurationResponse) Marshal() (dAtA []byte, err error)
func (*SetConfigurationResponse) MarshalTo ¶
func (m *SetConfigurationResponse) MarshalTo(dAtA []byte) (int, error)
func (*SetConfigurationResponse) MarshalToSizedBuffer ¶
func (m *SetConfigurationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetConfigurationResponse) ProtoMessage ¶
func (*SetConfigurationResponse) ProtoMessage()
func (*SetConfigurationResponse) Reset ¶
func (m *SetConfigurationResponse) Reset()
func (*SetConfigurationResponse) Size ¶
func (m *SetConfigurationResponse) Size() (n int)
func (*SetConfigurationResponse) String ¶
func (m *SetConfigurationResponse) String() string
func (*SetConfigurationResponse) Unmarshal ¶
func (m *SetConfigurationResponse) Unmarshal(dAtA []byte) error
func (*SetConfigurationResponse) XXX_DiscardUnknown ¶
func (m *SetConfigurationResponse) XXX_DiscardUnknown()
func (*SetConfigurationResponse) XXX_Marshal ¶
func (m *SetConfigurationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetConfigurationResponse) XXX_Merge ¶
func (m *SetConfigurationResponse) XXX_Merge(src proto.Message)
func (*SetConfigurationResponse) XXX_Size ¶
func (m *SetConfigurationResponse) XXX_Size() int
func (*SetConfigurationResponse) XXX_Unmarshal ¶
func (m *SetConfigurationResponse) XXX_Unmarshal(b []byte) error
type SetGroupsForUserRequest ¶
type SetGroupsForUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Groups []string `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGroupsForUserRequest) Descriptor ¶
func (*SetGroupsForUserRequest) Descriptor() ([]byte, []int)
func (*SetGroupsForUserRequest) GetGroups ¶
func (m *SetGroupsForUserRequest) GetGroups() []string
func (*SetGroupsForUserRequest) GetUsername ¶
func (m *SetGroupsForUserRequest) GetUsername() string
func (*SetGroupsForUserRequest) Marshal ¶
func (m *SetGroupsForUserRequest) Marshal() (dAtA []byte, err error)
func (*SetGroupsForUserRequest) MarshalTo ¶
func (m *SetGroupsForUserRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetGroupsForUserRequest) MarshalToSizedBuffer ¶
func (m *SetGroupsForUserRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetGroupsForUserRequest) ProtoMessage ¶
func (*SetGroupsForUserRequest) ProtoMessage()
func (*SetGroupsForUserRequest) Reset ¶
func (m *SetGroupsForUserRequest) Reset()
func (*SetGroupsForUserRequest) Size ¶
func (m *SetGroupsForUserRequest) Size() (n int)
func (*SetGroupsForUserRequest) String ¶
func (m *SetGroupsForUserRequest) String() string
func (*SetGroupsForUserRequest) Unmarshal ¶
func (m *SetGroupsForUserRequest) Unmarshal(dAtA []byte) error
func (*SetGroupsForUserRequest) XXX_DiscardUnknown ¶
func (m *SetGroupsForUserRequest) XXX_DiscardUnknown()
func (*SetGroupsForUserRequest) XXX_Marshal ¶
func (m *SetGroupsForUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGroupsForUserRequest) XXX_Merge ¶
func (m *SetGroupsForUserRequest) XXX_Merge(src proto.Message)
func (*SetGroupsForUserRequest) XXX_Size ¶
func (m *SetGroupsForUserRequest) XXX_Size() int
func (*SetGroupsForUserRequest) XXX_Unmarshal ¶
func (m *SetGroupsForUserRequest) XXX_Unmarshal(b []byte) error
type SetGroupsForUserResponse ¶
type SetGroupsForUserResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetGroupsForUserResponse) Descriptor ¶
func (*SetGroupsForUserResponse) Descriptor() ([]byte, []int)
func (*SetGroupsForUserResponse) Marshal ¶
func (m *SetGroupsForUserResponse) Marshal() (dAtA []byte, err error)
func (*SetGroupsForUserResponse) MarshalTo ¶
func (m *SetGroupsForUserResponse) MarshalTo(dAtA []byte) (int, error)
func (*SetGroupsForUserResponse) MarshalToSizedBuffer ¶
func (m *SetGroupsForUserResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetGroupsForUserResponse) ProtoMessage ¶
func (*SetGroupsForUserResponse) ProtoMessage()
func (*SetGroupsForUserResponse) Reset ¶
func (m *SetGroupsForUserResponse) Reset()
func (*SetGroupsForUserResponse) Size ¶
func (m *SetGroupsForUserResponse) Size() (n int)
func (*SetGroupsForUserResponse) String ¶
func (m *SetGroupsForUserResponse) String() string
func (*SetGroupsForUserResponse) Unmarshal ¶
func (m *SetGroupsForUserResponse) Unmarshal(dAtA []byte) error
func (*SetGroupsForUserResponse) XXX_DiscardUnknown ¶
func (m *SetGroupsForUserResponse) XXX_DiscardUnknown()
func (*SetGroupsForUserResponse) XXX_Marshal ¶
func (m *SetGroupsForUserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetGroupsForUserResponse) XXX_Merge ¶
func (m *SetGroupsForUserResponse) XXX_Merge(src proto.Message)
func (*SetGroupsForUserResponse) XXX_Size ¶
func (m *SetGroupsForUserResponse) XXX_Size() int
func (*SetGroupsForUserResponse) XXX_Unmarshal ¶
func (m *SetGroupsForUserResponse) XXX_Unmarshal(b []byte) error
type SetScopeRequest ¶
type SetScopeRequest struct { // username is the principal (some of which belong to robots rather than // users, but the name is preserved for now to provide compatibility with the // pachyderm dash) whose access is being granted/revoked. As with // GetScopeRequest, to set the access level of a robot user, the caller must // prefix username with "robot:". If 'username' has no prefix (i.e. no ":"), // then it's assumed to be a github user's principal. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // repo is the object to which access is being granted/revoked Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"` // scope (actually a "role"--see "Scope") is the access level that the owner // of 'principal' will now have Scope Scope `protobuf:"varint,3,opt,name=scope,proto3,enum=auth_1_7.Scope" json:"scope,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetScopeRequest) Descriptor ¶
func (*SetScopeRequest) Descriptor() ([]byte, []int)
func (*SetScopeRequest) GetRepo ¶
func (m *SetScopeRequest) GetRepo() string
func (*SetScopeRequest) GetScope ¶
func (m *SetScopeRequest) GetScope() Scope
func (*SetScopeRequest) GetUsername ¶
func (m *SetScopeRequest) GetUsername() string
func (*SetScopeRequest) Marshal ¶
func (m *SetScopeRequest) Marshal() (dAtA []byte, err error)
func (*SetScopeRequest) MarshalToSizedBuffer ¶
func (m *SetScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetScopeRequest) ProtoMessage ¶
func (*SetScopeRequest) ProtoMessage()
func (*SetScopeRequest) Reset ¶
func (m *SetScopeRequest) Reset()
func (*SetScopeRequest) Size ¶
func (m *SetScopeRequest) Size() (n int)
func (*SetScopeRequest) String ¶
func (m *SetScopeRequest) String() string
func (*SetScopeRequest) Unmarshal ¶
func (m *SetScopeRequest) Unmarshal(dAtA []byte) error
func (*SetScopeRequest) XXX_DiscardUnknown ¶
func (m *SetScopeRequest) XXX_DiscardUnknown()
func (*SetScopeRequest) XXX_Marshal ¶
func (m *SetScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetScopeRequest) XXX_Merge ¶
func (m *SetScopeRequest) XXX_Merge(src proto.Message)
func (*SetScopeRequest) XXX_Size ¶
func (m *SetScopeRequest) XXX_Size() int
func (*SetScopeRequest) XXX_Unmarshal ¶
func (m *SetScopeRequest) XXX_Unmarshal(b []byte) error
type SetScopeResponse ¶
type SetScopeResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetScopeResponse) Descriptor ¶
func (*SetScopeResponse) Descriptor() ([]byte, []int)
func (*SetScopeResponse) Marshal ¶
func (m *SetScopeResponse) Marshal() (dAtA []byte, err error)
func (*SetScopeResponse) MarshalToSizedBuffer ¶
func (m *SetScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetScopeResponse) ProtoMessage ¶
func (*SetScopeResponse) ProtoMessage()
func (*SetScopeResponse) Reset ¶
func (m *SetScopeResponse) Reset()
func (*SetScopeResponse) Size ¶
func (m *SetScopeResponse) Size() (n int)
func (*SetScopeResponse) String ¶
func (m *SetScopeResponse) String() string
func (*SetScopeResponse) Unmarshal ¶
func (m *SetScopeResponse) Unmarshal(dAtA []byte) error
func (*SetScopeResponse) XXX_DiscardUnknown ¶
func (m *SetScopeResponse) XXX_DiscardUnknown()
func (*SetScopeResponse) XXX_Marshal ¶
func (m *SetScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetScopeResponse) XXX_Merge ¶
func (m *SetScopeResponse) XXX_Merge(src proto.Message)
func (*SetScopeResponse) XXX_Size ¶
func (m *SetScopeResponse) XXX_Size() int
func (*SetScopeResponse) XXX_Unmarshal ¶
func (m *SetScopeResponse) XXX_Unmarshal(b []byte) error
type TokenInfo ¶
type TokenInfo struct { // Subject (i.e. Pachyderm account) that a given token authorizes. Prefixed // with "github:" or "robot:" to distinguish the two classes of // Subject in Pachyderm Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` Source TokenInfo_TokenSource `protobuf:"varint,2,opt,name=source,proto3,enum=auth_1_7.TokenInfo_TokenSource" json:"source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
TokenInfo is the 'value' of an auth token 'key' in the 'tokens' collection
func (*TokenInfo) Descriptor ¶
func (*TokenInfo) GetSource ¶
func (m *TokenInfo) GetSource() TokenInfo_TokenSource
func (*TokenInfo) GetSubject ¶
func (*TokenInfo) MarshalToSizedBuffer ¶
func (*TokenInfo) ProtoMessage ¶
func (*TokenInfo) ProtoMessage()
func (*TokenInfo) XXX_DiscardUnknown ¶
func (m *TokenInfo) XXX_DiscardUnknown()
func (*TokenInfo) XXX_Marshal ¶
func (*TokenInfo) XXX_Unmarshal ¶
type TokenInfo_TokenSource ¶
type TokenInfo_TokenSource int32
const ( TokenInfo_INVALID TokenInfo_TokenSource = 0 TokenInfo_AUTHENTICATE TokenInfo_TokenSource = 1 TokenInfo_GET_TOKEN TokenInfo_TokenSource = 2 )
func (TokenInfo_TokenSource) EnumDescriptor ¶
func (TokenInfo_TokenSource) EnumDescriptor() ([]byte, []int)
func (TokenInfo_TokenSource) String ¶
func (x TokenInfo_TokenSource) String() string
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServer) Activate ¶
func (*UnimplementedAPIServer) Activate(ctx context.Context, req *ActivateRequest) (*ActivateResponse, error)
func (*UnimplementedAPIServer) Authenticate ¶
func (*UnimplementedAPIServer) Authenticate(ctx context.Context, req *AuthenticateRequest) (*AuthenticateResponse, error)
func (*UnimplementedAPIServer) Authorize ¶
func (*UnimplementedAPIServer) Authorize(ctx context.Context, req *AuthorizeRequest) (*AuthorizeResponse, error)
func (*UnimplementedAPIServer) Deactivate ¶
func (*UnimplementedAPIServer) Deactivate(ctx context.Context, req *DeactivateRequest) (*DeactivateResponse, error)
func (*UnimplementedAPIServer) ExtendAuthToken ¶
func (*UnimplementedAPIServer) ExtendAuthToken(ctx context.Context, req *ExtendAuthTokenRequest) (*ExtendAuthTokenResponse, error)
func (*UnimplementedAPIServer) GetACL ¶
func (*UnimplementedAPIServer) GetACL(ctx context.Context, req *GetACLRequest) (*GetACLResponse, error)
func (*UnimplementedAPIServer) GetAdmins ¶
func (*UnimplementedAPIServer) GetAdmins(ctx context.Context, req *GetAdminsRequest) (*GetAdminsResponse, error)
func (*UnimplementedAPIServer) GetAuthToken ¶
func (*UnimplementedAPIServer) GetAuthToken(ctx context.Context, req *GetAuthTokenRequest) (*GetAuthTokenResponse, error)
func (*UnimplementedAPIServer) GetConfiguration ¶
func (*UnimplementedAPIServer) GetConfiguration(ctx context.Context, req *GetConfigurationRequest) (*GetConfigurationResponse, error)
func (*UnimplementedAPIServer) GetGroups ¶
func (*UnimplementedAPIServer) GetGroups(ctx context.Context, req *GetGroupsRequest) (*GetGroupsResponse, error)
func (*UnimplementedAPIServer) GetOneTimePassword ¶
func (*UnimplementedAPIServer) GetOneTimePassword(ctx context.Context, req *GetOneTimePasswordRequest) (*GetOneTimePasswordResponse, error)
func (*UnimplementedAPIServer) GetScope ¶
func (*UnimplementedAPIServer) GetScope(ctx context.Context, req *GetScopeRequest) (*GetScopeResponse, error)
func (*UnimplementedAPIServer) GetUsers ¶
func (*UnimplementedAPIServer) GetUsers(ctx context.Context, req *GetUsersRequest) (*GetUsersResponse, error)
func (*UnimplementedAPIServer) ModifyAdmins ¶
func (*UnimplementedAPIServer) ModifyAdmins(ctx context.Context, req *ModifyAdminsRequest) (*ModifyAdminsResponse, error)
func (*UnimplementedAPIServer) ModifyMembers ¶
func (*UnimplementedAPIServer) ModifyMembers(ctx context.Context, req *ModifyMembersRequest) (*ModifyMembersResponse, error)
func (*UnimplementedAPIServer) RevokeAuthToken ¶
func (*UnimplementedAPIServer) RevokeAuthToken(ctx context.Context, req *RevokeAuthTokenRequest) (*RevokeAuthTokenResponse, error)
func (*UnimplementedAPIServer) SetACL ¶
func (*UnimplementedAPIServer) SetACL(ctx context.Context, req *SetACLRequest) (*SetACLResponse, error)
func (*UnimplementedAPIServer) SetConfiguration ¶
func (*UnimplementedAPIServer) SetConfiguration(ctx context.Context, req *SetConfigurationRequest) (*SetConfigurationResponse, error)
func (*UnimplementedAPIServer) SetGroupsForUser ¶
func (*UnimplementedAPIServer) SetGroupsForUser(ctx context.Context, req *SetGroupsForUserRequest) (*SetGroupsForUserResponse, error)
func (*UnimplementedAPIServer) SetScope ¶
func (*UnimplementedAPIServer) SetScope(ctx context.Context, req *SetScopeRequest) (*SetScopeResponse, error)
func (*UnimplementedAPIServer) WhoAmI ¶
func (*UnimplementedAPIServer) WhoAmI(ctx context.Context, req *WhoAmIRequest) (*WhoAmIResponse, error)
type Users ¶
type Users struct { Usernames map[string]bool `` /* 160-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Users) Descriptor ¶
func (*Users) GetUsernames ¶
func (*Users) ProtoMessage ¶
func (*Users) ProtoMessage()
func (*Users) XXX_DiscardUnknown ¶
func (m *Users) XXX_DiscardUnknown()
func (*Users) XXX_Marshal ¶
func (*Users) XXX_Unmarshal ¶
type WhoAmIRequest ¶
type WhoAmIRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WhoAmIRequest) Descriptor ¶
func (*WhoAmIRequest) Descriptor() ([]byte, []int)
func (*WhoAmIRequest) Marshal ¶
func (m *WhoAmIRequest) Marshal() (dAtA []byte, err error)
func (*WhoAmIRequest) MarshalToSizedBuffer ¶
func (m *WhoAmIRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhoAmIRequest) ProtoMessage ¶
func (*WhoAmIRequest) ProtoMessage()
func (*WhoAmIRequest) Reset ¶
func (m *WhoAmIRequest) Reset()
func (*WhoAmIRequest) Size ¶
func (m *WhoAmIRequest) Size() (n int)
func (*WhoAmIRequest) String ¶
func (m *WhoAmIRequest) String() string
func (*WhoAmIRequest) Unmarshal ¶
func (m *WhoAmIRequest) Unmarshal(dAtA []byte) error
func (*WhoAmIRequest) XXX_DiscardUnknown ¶
func (m *WhoAmIRequest) XXX_DiscardUnknown()
func (*WhoAmIRequest) XXX_Marshal ¶
func (m *WhoAmIRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhoAmIRequest) XXX_Merge ¶
func (m *WhoAmIRequest) XXX_Merge(src proto.Message)
func (*WhoAmIRequest) XXX_Size ¶
func (m *WhoAmIRequest) XXX_Size() int
func (*WhoAmIRequest) XXX_Unmarshal ¶
func (m *WhoAmIRequest) XXX_Unmarshal(b []byte) error
type WhoAmIResponse ¶
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 ¶
func (*WhoAmIResponse) Descriptor() ([]byte, []int)
func (*WhoAmIResponse) GetIsAdmin ¶
func (m *WhoAmIResponse) GetIsAdmin() bool
func (*WhoAmIResponse) GetTTL ¶
func (m *WhoAmIResponse) GetTTL() int64
func (*WhoAmIResponse) GetUsername ¶
func (m *WhoAmIResponse) GetUsername() string
func (*WhoAmIResponse) Marshal ¶
func (m *WhoAmIResponse) Marshal() (dAtA []byte, err error)
func (*WhoAmIResponse) MarshalToSizedBuffer ¶
func (m *WhoAmIResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WhoAmIResponse) ProtoMessage ¶
func (*WhoAmIResponse) ProtoMessage()
func (*WhoAmIResponse) Reset ¶
func (m *WhoAmIResponse) Reset()
func (*WhoAmIResponse) Size ¶
func (m *WhoAmIResponse) Size() (n int)
func (*WhoAmIResponse) String ¶
func (m *WhoAmIResponse) String() string
func (*WhoAmIResponse) Unmarshal ¶
func (m *WhoAmIResponse) Unmarshal(dAtA []byte) error
func (*WhoAmIResponse) XXX_DiscardUnknown ¶
func (m *WhoAmIResponse) XXX_DiscardUnknown()
func (*WhoAmIResponse) XXX_Marshal ¶
func (m *WhoAmIResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WhoAmIResponse) XXX_Merge ¶
func (m *WhoAmIResponse) XXX_Merge(src proto.Message)
func (*WhoAmIResponse) XXX_Size ¶
func (m *WhoAmIResponse) XXX_Size() int
func (*WhoAmIResponse) XXX_Unmarshal ¶
func (m *WhoAmIResponse) XXX_Unmarshal(b []byte) error