Documentation ¶
Index ¶
- Variables
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)deprecated
- func (m *Agent) GetAgent() isAgent_Agent
- func (x *Agent) GetEngineAgent() *EngineAgent
- func (x *Agent) GetServiceTokenAgent() *ServiceTokenAgent
- func (x *Agent) GetTenantAgent() *TenantAgent
- func (x *Agent) GetUserAgent() *UserAgent
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type Agent_EngineAgent
- type Agent_ServiceTokenAgent
- type Agent_TenantAgent
- type Agent_UserAgent
- type CustomClaim
- func (*CustomClaim) Descriptor() ([]byte, []int)deprecated
- func (x *CustomClaim) GetKey() string
- func (x *CustomClaim) GetValues() []string
- func (*CustomClaim) ProtoMessage()
- func (x *CustomClaim) ProtoReflect() protoreflect.Message
- func (x *CustomClaim) Reset()
- func (x *CustomClaim) String() string
- type DisplayAgent
- func (*DisplayAgent) Descriptor() ([]byte, []int)deprecated
- func (m *DisplayAgent) GetAgent() isDisplayAgent_Agent
- func (x *DisplayAgent) GetEngineAgent() *DisplayEngineAgent
- func (x *DisplayAgent) GetServiceTokenAgent() *DisplayServiceTokenAgent
- func (x *DisplayAgent) GetTenantAgent() *DisplayTenantAgent
- func (x *DisplayAgent) GetUserAgent() *DisplayUserAgent
- func (*DisplayAgent) ProtoMessage()
- func (x *DisplayAgent) ProtoReflect() protoreflect.Message
- func (x *DisplayAgent) Reset()
- func (x *DisplayAgent) String() string
- type DisplayAgent_EngineAgent
- type DisplayAgent_ServiceTokenAgent
- type DisplayAgent_TenantAgent
- type DisplayAgent_UserAgent
- type DisplayCustomClaim
- func (*DisplayCustomClaim) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayCustomClaim) GetKey() string
- func (x *DisplayCustomClaim) GetValues() []string
- func (*DisplayCustomClaim) ProtoMessage()
- func (x *DisplayCustomClaim) ProtoReflect() protoreflect.Message
- func (x *DisplayCustomClaim) Reset()
- func (x *DisplayCustomClaim) String() string
- type DisplayEngineAgent
- func (*DisplayEngineAgent) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayEngineAgent) GetEnvironmentId() string
- func (x *DisplayEngineAgent) GetEnvironmentName() string
- func (x *DisplayEngineAgent) GetId() string
- func (x *DisplayEngineAgent) GetImpersonated() bool
- func (x *DisplayEngineAgent) GetProjectId() string
- func (x *DisplayEngineAgent) GetProjectName() string
- func (x *DisplayEngineAgent) GetTeamId() string
- func (x *DisplayEngineAgent) GetTeamName() string
- func (*DisplayEngineAgent) ProtoMessage()
- func (x *DisplayEngineAgent) ProtoReflect() protoreflect.Message
- func (x *DisplayEngineAgent) Reset()
- func (x *DisplayEngineAgent) String() string
- type DisplayEnvironmentPermissions
- func (*DisplayEnvironmentPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayEnvironmentPermissions) GetEnvironmentId() string
- func (x *DisplayEnvironmentPermissions) GetEnvironmentName() string
- func (x *DisplayEnvironmentPermissions) GetPermissions() []*DisplayPermission
- func (x *DisplayEnvironmentPermissions) GetProjectId() string
- func (x *DisplayEnvironmentPermissions) GetProjectName() string
- func (*DisplayEnvironmentPermissions) ProtoMessage()
- func (x *DisplayEnvironmentPermissions) ProtoReflect() protoreflect.Message
- func (x *DisplayEnvironmentPermissions) Reset()
- func (x *DisplayEnvironmentPermissions) String() string
- type DisplayPermission
- func (*DisplayPermission) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayPermission) GetName() string
- func (x *DisplayPermission) GetPermission() Permission
- func (*DisplayPermission) ProtoMessage()
- func (x *DisplayPermission) ProtoReflect() protoreflect.Message
- func (x *DisplayPermission) Reset()
- func (x *DisplayPermission) String() string
- type DisplayServiceTokenAgent
- func (*DisplayServiceTokenAgent) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayServiceTokenAgent) GetClientId() string
- func (x *DisplayServiceTokenAgent) GetCustomerClaims() []*DisplayCustomClaim
- func (x *DisplayServiceTokenAgent) GetEnvironmentId() string
- func (x *DisplayServiceTokenAgent) GetEnvironmentName() string
- func (x *DisplayServiceTokenAgent) GetId() string
- func (x *DisplayServiceTokenAgent) GetName() string
- func (x *DisplayServiceTokenAgent) GetPermissions() []*DisplayPermission
- func (x *DisplayServiceTokenAgent) GetProjectId() string
- func (x *DisplayServiceTokenAgent) GetProjectName() string
- func (x *DisplayServiceTokenAgent) GetTeamId() string
- func (x *DisplayServiceTokenAgent) GetTeamName() string
- func (*DisplayServiceTokenAgent) ProtoMessage()
- func (x *DisplayServiceTokenAgent) ProtoReflect() protoreflect.Message
- func (x *DisplayServiceTokenAgent) Reset()
- func (x *DisplayServiceTokenAgent) String() string
- type DisplayTenantAgent
- type DisplayUserAgent
- func (*DisplayUserAgent) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayUserAgent) GetClientId() stringdeprecated
- func (x *DisplayUserAgent) GetEmail() string
- func (x *DisplayUserAgent) GetImpersonated() bool
- func (x *DisplayUserAgent) GetName() string
- func (x *DisplayUserAgent) GetPermissionsByEnvironment() []*DisplayEnvironmentPermissions
- func (x *DisplayUserAgent) GetTeamId() string
- func (x *DisplayUserAgent) GetTeamName() string
- func (x *DisplayUserAgent) GetUserId() string
- func (*DisplayUserAgent) ProtoMessage()
- func (x *DisplayUserAgent) ProtoReflect() protoreflect.Message
- func (x *DisplayUserAgent) Reset()
- func (x *DisplayUserAgent) String() string
- type EngineAgent
- func (*EngineAgent) Descriptor() ([]byte, []int)deprecated
- func (x *EngineAgent) GetEnvironmentId() string
- func (x *EngineAgent) GetId() string
- func (x *EngineAgent) GetImpersonated() bool
- func (x *EngineAgent) GetProjectId() string
- func (x *EngineAgent) GetTeamId() string
- func (*EngineAgent) ProtoMessage()
- func (x *EngineAgent) ProtoReflect() protoreflect.Message
- func (x *EngineAgent) Reset()
- func (x *EngineAgent) String() string
- type EnvironmentPermissions
- func (*EnvironmentPermissions) Descriptor() ([]byte, []int)deprecated
- func (x *EnvironmentPermissions) GetPermissions() []Permission
- func (*EnvironmentPermissions) ProtoMessage()
- func (x *EnvironmentPermissions) ProtoReflect() protoreflect.Message
- func (x *EnvironmentPermissions) Reset()
- func (x *EnvironmentPermissions) String() string
- type Permission
- type ServiceTokenAgent
- func (*ServiceTokenAgent) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceTokenAgent) GetClientId() string
- func (x *ServiceTokenAgent) GetCustomClaims() []string
- func (x *ServiceTokenAgent) GetCustomerClaims() []*CustomClaim
- func (x *ServiceTokenAgent) GetEnvironment() string
- func (x *ServiceTokenAgent) GetId() string
- func (x *ServiceTokenAgent) GetPermissions() []Permission
- func (x *ServiceTokenAgent) GetTeamId() string
- func (*ServiceTokenAgent) ProtoMessage()
- func (x *ServiceTokenAgent) ProtoReflect() protoreflect.Message
- func (x *ServiceTokenAgent) Reset()
- func (x *ServiceTokenAgent) String() string
- type TenantAgent
- type UserAgent
- func (*UserAgent) Descriptor() ([]byte, []int)deprecated
- func (x *UserAgent) GetClientId() stringdeprecated
- func (x *UserAgent) GetImpersonated() bool
- func (x *UserAgent) GetPermissionsByEnvironment() map[string]*EnvironmentPermissions
- func (x *UserAgent) GetTeamId() string
- func (x *UserAgent) GetUserId() string
- func (*UserAgent) ProtoMessage()
- func (x *UserAgent) ProtoReflect() protoreflect.Message
- func (x *UserAgent) Reset()
- func (x *UserAgent) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Permission_name = map[int32]string{ 0: "PERMISSION_UNSPECIFIED", 1: "PERMISSION_INSECURE_UNAUTHENTICATED", 2: "PERMISSION_AUTHENTICATED", 3: "PERMISSION_QUERY_ONLINE", 4: "PERMISSION_QUERY_OFFLINE", 5: "PERMISSION_MONITORING_CREATE", 6: "PERMISSION_MONITORING_READ", 7: "PERMISSION_TEAM_ADD", 8: "PERMISSION_TEAM_DELETE", 9: "PERMISSION_TEAM_LIST", 10: "PERMISSION_TEAM_ADMIN", 11: "PERMISSION_DEPLOY_READ", 12: "PERMISSION_DEPLOY_CREATE", 13: "PERMISSION_DEPLOY_PREVIEW", 14: "PERMISSION_DEPLOY_REDEPLOY", 15: "PERMISSION_LOGS_LIST", 16: "PERMISSION_CRON_READ", 17: "PERMISSION_CRON_CREATE", 18: "PERMISSION_SECRETS_WRITE", 19: "PERMISSION_SECRETS_DECRYPT", 20: "PERMISSION_SECRETS_LIST", 21: "PERMISSION_TOKENS_WRITE", 22: "PERMISSION_TOKENS_LIST", 23: "PERMISSION_MIGRATE_READ", 24: "PERMISSION_MIGRATE_PLAN", 25: "PERMISSION_MIGRATE_EXECUTE", 26: "PERMISSION_PROJECT_CREATE", } Permission_value = map[string]int32{ "PERMISSION_UNSPECIFIED": 0, "PERMISSION_INSECURE_UNAUTHENTICATED": 1, "PERMISSION_AUTHENTICATED": 2, "PERMISSION_QUERY_ONLINE": 3, "PERMISSION_QUERY_OFFLINE": 4, "PERMISSION_MONITORING_CREATE": 5, "PERMISSION_MONITORING_READ": 6, "PERMISSION_TEAM_ADD": 7, "PERMISSION_TEAM_DELETE": 8, "PERMISSION_TEAM_LIST": 9, "PERMISSION_TEAM_ADMIN": 10, "PERMISSION_DEPLOY_READ": 11, "PERMISSION_DEPLOY_CREATE": 12, "PERMISSION_DEPLOY_PREVIEW": 13, "PERMISSION_DEPLOY_REDEPLOY": 14, "PERMISSION_LOGS_LIST": 15, "PERMISSION_CRON_READ": 16, "PERMISSION_CRON_CREATE": 17, "PERMISSION_SECRETS_WRITE": 18, "PERMISSION_SECRETS_DECRYPT": 19, "PERMISSION_SECRETS_LIST": 20, "PERMISSION_TOKENS_WRITE": 21, "PERMISSION_TOKENS_LIST": 22, "PERMISSION_MIGRATE_READ": 23, "PERMISSION_MIGRATE_PLAN": 24, "PERMISSION_MIGRATE_EXECUTE": 25, "PERMISSION_PROJECT_CREATE": 26, } )
Enum value maps for Permission.
var (
// optional chalk.auth.v1.Permission permission = 2000;
E_Permission = &file_chalk_auth_v1_permissions_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
var File_chalk_auth_v1_agent_proto protoreflect.FileDescriptor
var File_chalk_auth_v1_displayagent_proto protoreflect.FileDescriptor
var File_chalk_auth_v1_permissions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { // Types that are assignable to Agent: // // *Agent_UserAgent // *Agent_ServiceTokenAgent // *Agent_EngineAgent // *Agent_TenantAgent Agent isAgent_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
func (*Agent) Descriptor
deprecated
func (*Agent) GetEngineAgent ¶
func (x *Agent) GetEngineAgent() *EngineAgent
func (*Agent) GetServiceTokenAgent ¶
func (x *Agent) GetServiceTokenAgent() *ServiceTokenAgent
func (*Agent) GetTenantAgent ¶
func (x *Agent) GetTenantAgent() *TenantAgent
func (*Agent) GetUserAgent ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type Agent_EngineAgent ¶
type Agent_EngineAgent struct {
EngineAgent *EngineAgent `protobuf:"bytes,3,opt,name=engine_agent,json=engineAgent,proto3,oneof"`
}
type Agent_ServiceTokenAgent ¶
type Agent_ServiceTokenAgent struct {
ServiceTokenAgent *ServiceTokenAgent `protobuf:"bytes,2,opt,name=service_token_agent,json=serviceTokenAgent,proto3,oneof"`
}
type Agent_TenantAgent ¶
type Agent_TenantAgent struct {
TenantAgent *TenantAgent `protobuf:"bytes,4,opt,name=tenant_agent,json=tenantAgent,proto3,oneof"`
}
type Agent_UserAgent ¶
type Agent_UserAgent struct {
UserAgent *UserAgent `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3,oneof"`
}
type CustomClaim ¶ added in v0.4.7
type CustomClaim struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*CustomClaim) Descriptor
deprecated
added in
v0.4.7
func (*CustomClaim) Descriptor() ([]byte, []int)
Deprecated: Use CustomClaim.ProtoReflect.Descriptor instead.
func (*CustomClaim) GetKey ¶ added in v0.4.7
func (x *CustomClaim) GetKey() string
func (*CustomClaim) GetValues ¶ added in v0.4.7
func (x *CustomClaim) GetValues() []string
func (*CustomClaim) ProtoMessage ¶ added in v0.4.7
func (*CustomClaim) ProtoMessage()
func (*CustomClaim) ProtoReflect ¶ added in v0.4.7
func (x *CustomClaim) ProtoReflect() protoreflect.Message
func (*CustomClaim) Reset ¶ added in v0.4.7
func (x *CustomClaim) Reset()
func (*CustomClaim) String ¶ added in v0.4.7
func (x *CustomClaim) String() string
type DisplayAgent ¶
type DisplayAgent struct { // Types that are assignable to Agent: // // *DisplayAgent_UserAgent // *DisplayAgent_ServiceTokenAgent // *DisplayAgent_EngineAgent // *DisplayAgent_TenantAgent Agent isDisplayAgent_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
func (*DisplayAgent) Descriptor
deprecated
func (*DisplayAgent) Descriptor() ([]byte, []int)
Deprecated: Use DisplayAgent.ProtoReflect.Descriptor instead.
func (*DisplayAgent) GetAgent ¶
func (m *DisplayAgent) GetAgent() isDisplayAgent_Agent
func (*DisplayAgent) GetEngineAgent ¶
func (x *DisplayAgent) GetEngineAgent() *DisplayEngineAgent
func (*DisplayAgent) GetServiceTokenAgent ¶
func (x *DisplayAgent) GetServiceTokenAgent() *DisplayServiceTokenAgent
func (*DisplayAgent) GetTenantAgent ¶
func (x *DisplayAgent) GetTenantAgent() *DisplayTenantAgent
func (*DisplayAgent) GetUserAgent ¶
func (x *DisplayAgent) GetUserAgent() *DisplayUserAgent
func (*DisplayAgent) ProtoMessage ¶
func (*DisplayAgent) ProtoMessage()
func (*DisplayAgent) ProtoReflect ¶
func (x *DisplayAgent) ProtoReflect() protoreflect.Message
func (*DisplayAgent) Reset ¶
func (x *DisplayAgent) Reset()
func (*DisplayAgent) String ¶
func (x *DisplayAgent) String() string
type DisplayAgent_EngineAgent ¶
type DisplayAgent_EngineAgent struct {
EngineAgent *DisplayEngineAgent `protobuf:"bytes,3,opt,name=engine_agent,json=engineAgent,proto3,oneof"`
}
type DisplayAgent_ServiceTokenAgent ¶
type DisplayAgent_ServiceTokenAgent struct {
ServiceTokenAgent *DisplayServiceTokenAgent `protobuf:"bytes,2,opt,name=service_token_agent,json=serviceTokenAgent,proto3,oneof"`
}
type DisplayAgent_TenantAgent ¶
type DisplayAgent_TenantAgent struct {
TenantAgent *DisplayTenantAgent `protobuf:"bytes,4,opt,name=tenant_agent,json=tenantAgent,proto3,oneof"`
}
type DisplayAgent_UserAgent ¶
type DisplayAgent_UserAgent struct {
UserAgent *DisplayUserAgent `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3,oneof"`
}
type DisplayCustomClaim ¶ added in v0.4.7
type DisplayCustomClaim struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*DisplayCustomClaim) Descriptor
deprecated
added in
v0.4.7
func (*DisplayCustomClaim) Descriptor() ([]byte, []int)
Deprecated: Use DisplayCustomClaim.ProtoReflect.Descriptor instead.
func (*DisplayCustomClaim) GetKey ¶ added in v0.4.7
func (x *DisplayCustomClaim) GetKey() string
func (*DisplayCustomClaim) GetValues ¶ added in v0.4.7
func (x *DisplayCustomClaim) GetValues() []string
func (*DisplayCustomClaim) ProtoMessage ¶ added in v0.4.7
func (*DisplayCustomClaim) ProtoMessage()
func (*DisplayCustomClaim) ProtoReflect ¶ added in v0.4.7
func (x *DisplayCustomClaim) ProtoReflect() protoreflect.Message
func (*DisplayCustomClaim) Reset ¶ added in v0.4.7
func (x *DisplayCustomClaim) Reset()
func (*DisplayCustomClaim) String ¶ added in v0.4.7
func (x *DisplayCustomClaim) String() string
type DisplayEngineAgent ¶
type DisplayEngineAgent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` Impersonated bool `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"` TeamName string `protobuf:"bytes,6,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` ProjectName string `protobuf:"bytes,7,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` EnvironmentName string `protobuf:"bytes,8,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"` // contains filtered or unexported fields }
func (*DisplayEngineAgent) Descriptor
deprecated
func (*DisplayEngineAgent) Descriptor() ([]byte, []int)
Deprecated: Use DisplayEngineAgent.ProtoReflect.Descriptor instead.
func (*DisplayEngineAgent) GetEnvironmentId ¶
func (x *DisplayEngineAgent) GetEnvironmentId() string
func (*DisplayEngineAgent) GetEnvironmentName ¶
func (x *DisplayEngineAgent) GetEnvironmentName() string
func (*DisplayEngineAgent) GetId ¶
func (x *DisplayEngineAgent) GetId() string
func (*DisplayEngineAgent) GetImpersonated ¶
func (x *DisplayEngineAgent) GetImpersonated() bool
func (*DisplayEngineAgent) GetProjectId ¶
func (x *DisplayEngineAgent) GetProjectId() string
func (*DisplayEngineAgent) GetProjectName ¶
func (x *DisplayEngineAgent) GetProjectName() string
func (*DisplayEngineAgent) GetTeamId ¶
func (x *DisplayEngineAgent) GetTeamId() string
func (*DisplayEngineAgent) GetTeamName ¶
func (x *DisplayEngineAgent) GetTeamName() string
func (*DisplayEngineAgent) ProtoMessage ¶
func (*DisplayEngineAgent) ProtoMessage()
func (*DisplayEngineAgent) ProtoReflect ¶
func (x *DisplayEngineAgent) ProtoReflect() protoreflect.Message
func (*DisplayEngineAgent) Reset ¶
func (x *DisplayEngineAgent) Reset()
func (*DisplayEngineAgent) String ¶
func (x *DisplayEngineAgent) String() string
type DisplayEnvironmentPermissions ¶
type DisplayEnvironmentPermissions struct { EnvironmentId string `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` EnvironmentName string `protobuf:"bytes,2,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` ProjectName string `protobuf:"bytes,4,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` Permissions []*DisplayPermission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*DisplayEnvironmentPermissions) Descriptor
deprecated
func (*DisplayEnvironmentPermissions) Descriptor() ([]byte, []int)
Deprecated: Use DisplayEnvironmentPermissions.ProtoReflect.Descriptor instead.
func (*DisplayEnvironmentPermissions) GetEnvironmentId ¶
func (x *DisplayEnvironmentPermissions) GetEnvironmentId() string
func (*DisplayEnvironmentPermissions) GetEnvironmentName ¶
func (x *DisplayEnvironmentPermissions) GetEnvironmentName() string
func (*DisplayEnvironmentPermissions) GetPermissions ¶
func (x *DisplayEnvironmentPermissions) GetPermissions() []*DisplayPermission
func (*DisplayEnvironmentPermissions) GetProjectId ¶
func (x *DisplayEnvironmentPermissions) GetProjectId() string
func (*DisplayEnvironmentPermissions) GetProjectName ¶
func (x *DisplayEnvironmentPermissions) GetProjectName() string
func (*DisplayEnvironmentPermissions) ProtoMessage ¶
func (*DisplayEnvironmentPermissions) ProtoMessage()
func (*DisplayEnvironmentPermissions) ProtoReflect ¶
func (x *DisplayEnvironmentPermissions) ProtoReflect() protoreflect.Message
func (*DisplayEnvironmentPermissions) Reset ¶
func (x *DisplayEnvironmentPermissions) Reset()
func (*DisplayEnvironmentPermissions) String ¶
func (x *DisplayEnvironmentPermissions) String() string
type DisplayPermission ¶
type DisplayPermission struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Permission Permission `protobuf:"varint,2,opt,name=permission,proto3,enum=chalk.auth.v1.Permission" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*DisplayPermission) Descriptor
deprecated
func (*DisplayPermission) Descriptor() ([]byte, []int)
Deprecated: Use DisplayPermission.ProtoReflect.Descriptor instead.
func (*DisplayPermission) GetName ¶
func (x *DisplayPermission) GetName() string
func (*DisplayPermission) GetPermission ¶
func (x *DisplayPermission) GetPermission() Permission
func (*DisplayPermission) ProtoMessage ¶
func (*DisplayPermission) ProtoMessage()
func (*DisplayPermission) ProtoReflect ¶
func (x *DisplayPermission) ProtoReflect() protoreflect.Message
func (*DisplayPermission) Reset ¶
func (x *DisplayPermission) Reset()
func (*DisplayPermission) String ¶
func (x *DisplayPermission) String() string
type DisplayServiceTokenAgent ¶
type DisplayServiceTokenAgent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` EnvironmentId string `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` Permissions []*DisplayPermission `protobuf:"bytes,6,rep,name=permissions,proto3" json:"permissions,omitempty"` Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` TeamName string `protobuf:"bytes,8,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` ProjectName string `protobuf:"bytes,9,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"` EnvironmentName string `protobuf:"bytes,10,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"` CustomerClaims []*DisplayCustomClaim `protobuf:"bytes,11,rep,name=customer_claims,json=customerClaims,proto3" json:"customer_claims,omitempty"` // contains filtered or unexported fields }
func (*DisplayServiceTokenAgent) Descriptor
deprecated
func (*DisplayServiceTokenAgent) Descriptor() ([]byte, []int)
Deprecated: Use DisplayServiceTokenAgent.ProtoReflect.Descriptor instead.
func (*DisplayServiceTokenAgent) GetClientId ¶
func (x *DisplayServiceTokenAgent) GetClientId() string
func (*DisplayServiceTokenAgent) GetCustomerClaims ¶ added in v0.4.7
func (x *DisplayServiceTokenAgent) GetCustomerClaims() []*DisplayCustomClaim
func (*DisplayServiceTokenAgent) GetEnvironmentId ¶
func (x *DisplayServiceTokenAgent) GetEnvironmentId() string
func (*DisplayServiceTokenAgent) GetEnvironmentName ¶
func (x *DisplayServiceTokenAgent) GetEnvironmentName() string
func (*DisplayServiceTokenAgent) GetId ¶
func (x *DisplayServiceTokenAgent) GetId() string
func (*DisplayServiceTokenAgent) GetName ¶
func (x *DisplayServiceTokenAgent) GetName() string
func (*DisplayServiceTokenAgent) GetPermissions ¶
func (x *DisplayServiceTokenAgent) GetPermissions() []*DisplayPermission
func (*DisplayServiceTokenAgent) GetProjectId ¶
func (x *DisplayServiceTokenAgent) GetProjectId() string
func (*DisplayServiceTokenAgent) GetProjectName ¶
func (x *DisplayServiceTokenAgent) GetProjectName() string
func (*DisplayServiceTokenAgent) GetTeamId ¶
func (x *DisplayServiceTokenAgent) GetTeamId() string
func (*DisplayServiceTokenAgent) GetTeamName ¶
func (x *DisplayServiceTokenAgent) GetTeamName() string
func (*DisplayServiceTokenAgent) ProtoMessage ¶
func (*DisplayServiceTokenAgent) ProtoMessage()
func (*DisplayServiceTokenAgent) ProtoReflect ¶
func (x *DisplayServiceTokenAgent) ProtoReflect() protoreflect.Message
func (*DisplayServiceTokenAgent) Reset ¶
func (x *DisplayServiceTokenAgent) Reset()
func (*DisplayServiceTokenAgent) String ¶
func (x *DisplayServiceTokenAgent) String() string
type DisplayTenantAgent ¶
type DisplayTenantAgent struct {
// contains filtered or unexported fields
}
func (*DisplayTenantAgent) Descriptor
deprecated
func (*DisplayTenantAgent) Descriptor() ([]byte, []int)
Deprecated: Use DisplayTenantAgent.ProtoReflect.Descriptor instead.
func (*DisplayTenantAgent) ProtoMessage ¶
func (*DisplayTenantAgent) ProtoMessage()
func (*DisplayTenantAgent) ProtoReflect ¶
func (x *DisplayTenantAgent) ProtoReflect() protoreflect.Message
func (*DisplayTenantAgent) Reset ¶
func (x *DisplayTenantAgent) Reset()
func (*DisplayTenantAgent) String ¶
func (x *DisplayTenantAgent) String() string
type DisplayUserAgent ¶
type DisplayUserAgent struct { // Deprecated: Marked as deprecated in chalk/auth/v1/displayagent.proto. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` PermissionsByEnvironment []*DisplayEnvironmentPermissions `` /* 135-byte string literal not displayed */ Impersonated bool `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` TeamName string `protobuf:"bytes,8,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"` // contains filtered or unexported fields }
func (*DisplayUserAgent) Descriptor
deprecated
func (*DisplayUserAgent) Descriptor() ([]byte, []int)
Deprecated: Use DisplayUserAgent.ProtoReflect.Descriptor instead.
func (*DisplayUserAgent) GetClientId
deprecated
func (x *DisplayUserAgent) GetClientId() string
Deprecated: Marked as deprecated in chalk/auth/v1/displayagent.proto.
func (*DisplayUserAgent) GetEmail ¶
func (x *DisplayUserAgent) GetEmail() string
func (*DisplayUserAgent) GetImpersonated ¶
func (x *DisplayUserAgent) GetImpersonated() bool
func (*DisplayUserAgent) GetName ¶
func (x *DisplayUserAgent) GetName() string
func (*DisplayUserAgent) GetPermissionsByEnvironment ¶
func (x *DisplayUserAgent) GetPermissionsByEnvironment() []*DisplayEnvironmentPermissions
func (*DisplayUserAgent) GetTeamId ¶
func (x *DisplayUserAgent) GetTeamId() string
func (*DisplayUserAgent) GetTeamName ¶
func (x *DisplayUserAgent) GetTeamName() string
func (*DisplayUserAgent) GetUserId ¶
func (x *DisplayUserAgent) GetUserId() string
func (*DisplayUserAgent) ProtoMessage ¶
func (*DisplayUserAgent) ProtoMessage()
func (*DisplayUserAgent) ProtoReflect ¶
func (x *DisplayUserAgent) ProtoReflect() protoreflect.Message
func (*DisplayUserAgent) Reset ¶
func (x *DisplayUserAgent) Reset()
func (*DisplayUserAgent) String ¶
func (x *DisplayUserAgent) String() string
type EngineAgent ¶
type EngineAgent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` TeamId string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` Impersonated bool `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"` // contains filtered or unexported fields }
func (*EngineAgent) Descriptor
deprecated
func (*EngineAgent) Descriptor() ([]byte, []int)
Deprecated: Use EngineAgent.ProtoReflect.Descriptor instead.
func (*EngineAgent) GetEnvironmentId ¶
func (x *EngineAgent) GetEnvironmentId() string
func (*EngineAgent) GetId ¶
func (x *EngineAgent) GetId() string
func (*EngineAgent) GetImpersonated ¶
func (x *EngineAgent) GetImpersonated() bool
func (*EngineAgent) GetProjectId ¶
func (x *EngineAgent) GetProjectId() string
func (*EngineAgent) GetTeamId ¶
func (x *EngineAgent) GetTeamId() string
func (*EngineAgent) ProtoMessage ¶
func (*EngineAgent) ProtoMessage()
func (*EngineAgent) ProtoReflect ¶
func (x *EngineAgent) ProtoReflect() protoreflect.Message
func (*EngineAgent) Reset ¶
func (x *EngineAgent) Reset()
func (*EngineAgent) String ¶
func (x *EngineAgent) String() string
type EnvironmentPermissions ¶
type EnvironmentPermissions struct { Permissions []Permission `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=chalk.auth.v1.Permission" json:"permissions,omitempty"` // contains filtered or unexported fields }
func (*EnvironmentPermissions) Descriptor
deprecated
func (*EnvironmentPermissions) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentPermissions.ProtoReflect.Descriptor instead.
func (*EnvironmentPermissions) GetPermissions ¶
func (x *EnvironmentPermissions) GetPermissions() []Permission
func (*EnvironmentPermissions) ProtoMessage ¶
func (*EnvironmentPermissions) ProtoMessage()
func (*EnvironmentPermissions) ProtoReflect ¶
func (x *EnvironmentPermissions) ProtoReflect() protoreflect.Message
func (*EnvironmentPermissions) Reset ¶
func (x *EnvironmentPermissions) Reset()
func (*EnvironmentPermissions) String ¶
func (x *EnvironmentPermissions) String() string
type Permission ¶
type Permission int32
const ( // Default value -- should never be set. Permission_PERMISSION_UNSPECIFIED Permission = 0 // Only used for creating a new token Permission_PERMISSION_INSECURE_UNAUTHENTICATED Permission = 1 Permission_PERMISSION_AUTHENTICATED Permission = 2 // Query online features. Permission_PERMISSION_QUERY_ONLINE Permission = 3 // Query offline features. Permission_PERMISSION_QUERY_OFFLINE Permission = 4 // Create a new chart or alert Permission_PERMISSION_MONITORING_CREATE Permission = 5 // See charts and alerts Permission_PERMISSION_MONITORING_READ Permission = 6 // Add team members to your organization Permission_PERMISSION_TEAM_ADD Permission = 7 // Remove a team member Permission_PERMISSION_TEAM_DELETE Permission = 8 // See the team members in your organization Permission_PERMISSION_TEAM_LIST Permission = 9 // Configure authentication options for your organization Permission_PERMISSION_TEAM_ADMIN Permission = 10 // Read information about deployments. Permission_PERMISSION_DEPLOY_READ Permission = 11 // Create a new deployment. Permission_PERMISSION_DEPLOY_CREATE Permission = 12 // Create a new preview deployment. Permission_PERMISSION_DEPLOY_PREVIEW Permission = 13 // Redeploy an existing deployment. Permission_PERMISSION_DEPLOY_REDEPLOY Permission = 14 // Read logs from resolvers. Permission_PERMISSION_LOGS_LIST Permission = 15 // Read the scheduled runs. Permission_PERMISSION_CRON_READ Permission = 16 // Trigger a new scheduled run. Permission_PERMISSION_CRON_CREATE Permission = 17 // Create, modify, or delete secret values. Permission_PERMISSION_SECRETS_WRITE Permission = 18 // Decrypt secret values. Permission_PERMISSION_SECRETS_DECRYPT Permission = 19 // See the list of available secrets. Reading secrets is not allowed with this permission. Permission_PERMISSION_SECRETS_LIST Permission = 20 // Create, modify, or delete service tokens. Permission_PERMISSION_TOKENS_WRITE Permission = 21 // List the service tokens and see client ids, but not client secrets. Permission_PERMISSION_TOKENS_LIST Permission = 22 // View information about migrations. Permission_PERMISSION_MIGRATE_READ Permission = 23 // Create a migration plan. Permission_PERMISSION_MIGRATE_PLAN Permission = 24 // Execute a migration plan. Permission_PERMISSION_MIGRATE_EXECUTE Permission = 25 // Create a new project Permission_PERMISSION_PROJECT_CREATE Permission = 26 )
func (Permission) Descriptor ¶
func (Permission) Descriptor() protoreflect.EnumDescriptor
func (Permission) Enum ¶
func (x Permission) Enum() *Permission
func (Permission) EnumDescriptor
deprecated
func (Permission) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission.Descriptor instead.
func (Permission) Number ¶
func (x Permission) Number() protoreflect.EnumNumber
func (Permission) String ¶
func (x Permission) String() string
func (Permission) Type ¶
func (Permission) Type() protoreflect.EnumType
type ServiceTokenAgent ¶
type ServiceTokenAgent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` Environment string `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"` Permissions []Permission `protobuf:"varint,5,rep,packed,name=permissions,proto3,enum=chalk.auth.v1.Permission" json:"permissions,omitempty"` CustomClaims []string `protobuf:"bytes,6,rep,name=custom_claims,json=customClaims,proto3" json:"custom_claims,omitempty"` CustomerClaims []*CustomClaim `protobuf:"bytes,7,rep,name=customer_claims,json=customerClaims,proto3" json:"customer_claims,omitempty"` // contains filtered or unexported fields }
func (*ServiceTokenAgent) Descriptor
deprecated
func (*ServiceTokenAgent) Descriptor() ([]byte, []int)
Deprecated: Use ServiceTokenAgent.ProtoReflect.Descriptor instead.
func (*ServiceTokenAgent) GetClientId ¶
func (x *ServiceTokenAgent) GetClientId() string
func (*ServiceTokenAgent) GetCustomClaims ¶ added in v0.4.7
func (x *ServiceTokenAgent) GetCustomClaims() []string
func (*ServiceTokenAgent) GetCustomerClaims ¶ added in v0.4.7
func (x *ServiceTokenAgent) GetCustomerClaims() []*CustomClaim
func (*ServiceTokenAgent) GetEnvironment ¶
func (x *ServiceTokenAgent) GetEnvironment() string
func (*ServiceTokenAgent) GetId ¶
func (x *ServiceTokenAgent) GetId() string
func (*ServiceTokenAgent) GetPermissions ¶
func (x *ServiceTokenAgent) GetPermissions() []Permission
func (*ServiceTokenAgent) GetTeamId ¶
func (x *ServiceTokenAgent) GetTeamId() string
func (*ServiceTokenAgent) ProtoMessage ¶
func (*ServiceTokenAgent) ProtoMessage()
func (*ServiceTokenAgent) ProtoReflect ¶
func (x *ServiceTokenAgent) ProtoReflect() protoreflect.Message
func (*ServiceTokenAgent) Reset ¶
func (x *ServiceTokenAgent) Reset()
func (*ServiceTokenAgent) String ¶
func (x *ServiceTokenAgent) String() string
type TenantAgent ¶
type TenantAgent struct {
// contains filtered or unexported fields
}
func (*TenantAgent) Descriptor
deprecated
func (*TenantAgent) Descriptor() ([]byte, []int)
Deprecated: Use TenantAgent.ProtoReflect.Descriptor instead.
func (*TenantAgent) ProtoMessage ¶
func (*TenantAgent) ProtoMessage()
func (*TenantAgent) ProtoReflect ¶
func (x *TenantAgent) ProtoReflect() protoreflect.Message
func (*TenantAgent) Reset ¶
func (x *TenantAgent) Reset()
func (*TenantAgent) String ¶
func (x *TenantAgent) String() string
type UserAgent ¶
type UserAgent struct { // Deprecated: Marked as deprecated in chalk/auth/v1/agent.proto. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TeamId string `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` PermissionsByEnvironment map[string]*EnvironmentPermissions `` /* 223-byte string literal not displayed */ Impersonated bool `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"` // contains filtered or unexported fields }
func (*UserAgent) Descriptor
deprecated
func (*UserAgent) GetClientId
deprecated
func (*UserAgent) GetImpersonated ¶
func (*UserAgent) GetPermissionsByEnvironment ¶
func (x *UserAgent) GetPermissionsByEnvironment() map[string]*EnvironmentPermissions
func (*UserAgent) ProtoMessage ¶
func (*UserAgent) ProtoMessage()
func (*UserAgent) ProtoReflect ¶
func (x *UserAgent) ProtoReflect() protoreflect.Message