apiv1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TenantRole_name = map[int32]string{
		0: "TENANT_ROLE_UNSPECIFIED",
		1: "TENANT_ROLE_OWNER",
		2: "TENANT_ROLE_EDITOR",
		3: "TENANT_ROLE_VIEWER",
		4: "TENANT_ROLE_GUEST",
	}
	TenantRole_value = map[string]int32{
		"TENANT_ROLE_UNSPECIFIED": 0,
		"TENANT_ROLE_OWNER":       1,
		"TENANT_ROLE_EDITOR":      2,
		"TENANT_ROLE_VIEWER":      3,
		"TENANT_ROLE_GUEST":       4,
	}
)

Enum value maps for TenantRole.

View Source
var (
	ProjectRole_name = map[int32]string{
		0: "PROJECT_ROLE_UNSPECIFIED",
		1: "PROJECT_ROLE_OWNER",
		2: "PROJECT_ROLE_EDITOR",
		3: "PROJECT_ROLE_VIEWER",
	}
	ProjectRole_value = map[string]int32{
		"PROJECT_ROLE_UNSPECIFIED": 0,
		"PROJECT_ROLE_OWNER":       1,
		"PROJECT_ROLE_EDITOR":      2,
		"PROJECT_ROLE_VIEWER":      3,
	}
)

Enum value maps for ProjectRole.

View Source
var (
	AdminRole_name = map[int32]string{
		0: "ADMIN_ROLE_UNSPECIFIED",
		1: "ADMIN_ROLE_EDITOR",
		2: "ADMIN_ROLE_VIEWER",
	}
	AdminRole_value = map[string]int32{
		"ADMIN_ROLE_UNSPECIFIED": 0,
		"ADMIN_ROLE_EDITOR":      1,
		"ADMIN_ROLE_VIEWER":      2,
	}
)

Enum value maps for AdminRole.

View Source
var (
	Visibility_name = map[int32]string{
		0: "VISIBILITY_UNSPECIFIED",
		1: "VISIBILITY_PUBLIC",
		2: "VISIBILITY_SELF",
	}
	Visibility_value = map[string]int32{
		"VISIBILITY_UNSPECIFIED": 0,
		"VISIBILITY_PUBLIC":      1,
		"VISIBILITY_SELF":        2,
	}
)

Enum value maps for Visibility.

View Source
var (
	Auditing_name = map[int32]string{
		0: "AUDITING_UNSPECIFIED",
		1: "AUDITING_INCLUDED",
		2: "AUDITING_EXCLUDED",
	}
	Auditing_value = map[string]int32{
		"AUDITING_UNSPECIFIED": 0,
		"AUDITING_INCLUDED":    1,
		"AUDITING_EXCLUDED":    2,
	}
)

Enum value maps for Auditing.

View Source
var (
	OptimisticLockingStrategy_name = map[int32]string{
		0: "OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED",
		1: "OPTIMISTIC_LOCKING_STRATEGY_CLIENT",
		2: "OPTIMISTIC_LOCKING_STRATEGY_SERVER",
	}
	OptimisticLockingStrategy_value = map[string]int32{
		"OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED": 0,
		"OPTIMISTIC_LOCKING_STRATEGY_CLIENT":      1,
		"OPTIMISTIC_LOCKING_STRATEGY_SERVER":      2,
	}
)

Enum value maps for OptimisticLockingStrategy.

View Source
var (
	// TenantRoles are used to define which tenant role a logged in user must provide to call this method
	//
	// repeated fits.api.v1.TenantRole tenant_roles = 51000;
	E_TenantRoles = &file_fits_api_v1_common_proto_extTypes[0]
	// ProjectRoles are used to define which project role a logged in user must provide to call this method
	//
	// repeated fits.api.v1.ProjectRole project_roles = 51001;
	E_ProjectRoles = &file_fits_api_v1_common_proto_extTypes[1]
	// AdminRoles are used to define which admin role a logged in user must provide to call this method
	//
	// repeated fits.api.v1.AdminRole admin_roles = 51002;
	E_AdminRoles = &file_fits_api_v1_common_proto_extTypes[2]
	// Visibility defines the visibility of this method, this is used to have public or self visible methods
	//
	// optional fits.api.v1.Visibility visibility = 51003;
	E_Visibility = &file_fits_api_v1_common_proto_extTypes[3]
	// Auditing defines if calls to this method should be audited or not
	//
	// optional fits.api.v1.Auditing auditing = 51004;
	E_Auditing = &file_fits_api_v1_common_proto_extTypes[4]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	ServiceStatus_name = map[int32]string{
		0: "SERVICE_STATUS_UNSPECIFIED",
		1: "SERVICE_STATUS_DEGRADED",
		2: "SERVICE_STATUS_UNHEALTHY",
		3: "SERVICE_STATUS_HEALTHY",
	}
	ServiceStatus_value = map[string]int32{
		"SERVICE_STATUS_UNSPECIFIED": 0,
		"SERVICE_STATUS_DEGRADED":    1,
		"SERVICE_STATUS_UNHEALTHY":   2,
		"SERVICE_STATUS_HEALTHY":     3,
	}
)

Enum value maps for ServiceStatus.

View Source
var (
	Service_name = map[int32]string{
		0: "SERVICE_UNSPECIFIED",
		1: "SERVICE_K8S",
	}
	Service_value = map[string]int32{
		"SERVICE_UNSPECIFIED": 0,
		"SERVICE_K8S":         1,
	}
)

Enum value maps for Service.

View Source
var (
	IPType_name = map[int32]string{
		0: "IP_TYPE_UNSPECIFIED",
		1: "IP_TYPE_EPHEMERAL",
		2: "IP_TYPE_STATIC",
	}
	IPType_value = map[string]int32{
		"IP_TYPE_UNSPECIFIED": 0,
		"IP_TYPE_EPHEMERAL":   1,
		"IP_TYPE_STATIC":      2,
	}
)

Enum value maps for IPType.

View Source
var (
	IPAddressFamily_name = map[int32]string{
		0: "IP_ADDRESS_FAMILY_UNSPECIFIED",
		1: "IP_ADDRESS_FAMILY_V4",
		2: "IP_ADDRESS_FAMILY_V6",
	}
	IPAddressFamily_value = map[string]int32{
		"IP_ADDRESS_FAMILY_UNSPECIFIED": 0,
		"IP_ADDRESS_FAMILY_V4":          1,
		"IP_ADDRESS_FAMILY_V6":          2,
	}
)

Enum value maps for IPAddressFamily.

View Source
var (
	// Macaddress returns true if the given string is a valid macadress
	//
	// optional bool macaddress = 80048951;
	E_Macaddress = &file_fits_api_v1_predefined_rules_proto_extTypes[0]
	// IsName returns true if name field satisfies our requirements
	//
	// optional bool is_name = 80048952;
	E_IsName = &file_fits_api_v1_predefined_rules_proto_extTypes[1]
	// IsDescription returns true if description field satisfies our requirements
	//
	// optional bool is_description = 80048953;
	E_IsDescription = &file_fits_api_v1_predefined_rules_proto_extTypes[2]
	// IsPartition returns true if partition field satisfies our requirements
	//
	// optional bool is_partition = 80048954;
	E_IsPartition = &file_fits_api_v1_predefined_rules_proto_extTypes[3]
	// IsPrefix validates if the given string is a valid prefix
	//
	// optional bool is_prefix = 80048955;
	E_IsPrefix = &file_fits_api_v1_predefined_rules_proto_extTypes[4]
	// IsUri validates if the given string is a valid URI
	//
	// optional bool is_uri = 80048956;
	E_IsUri = &file_fits_api_v1_predefined_rules_proto_extTypes[5]
	// IsIpOrHostname validates that the given string is either a ip or a hostname
	//
	// optional bool is_ip_or_hostname = 80048957;
	E_IsIpOrHostname = &file_fits_api_v1_predefined_rules_proto_extTypes[6]
	// Trimmed enforces the string to be trimmed, e.g. no whitespaces at the begin and end
	//
	// optional bool trimmed = 80048958;
	E_Trimmed = &file_fits_api_v1_predefined_rules_proto_extTypes[7]
	// IsProjectSlug enforces the string to be usable as a project slug.
	//
	// optional bool is_project_slug = 80048959;
	E_IsProjectSlug = &file_fits_api_v1_predefined_rules_proto_extTypes[8]
	// IsIpv4Cidr validates if the given string is a valid IPv4 CIDR, e.g. 10.0.0.0/24
	//
	// optional bool is_ipv4_cidr = 80048960;
	E_IsIpv4Cidr = &file_fits_api_v1_predefined_rules_proto_extTypes[9]
)

Extension fields to validate.StringRules.

View Source
var (
	// Prefixes validates if a slice of prefixes in string form are valid
	//
	// optional bool prefixes = 80058951;
	E_Prefixes = &file_fits_api_v1_predefined_rules_proto_extTypes[10]
	// Ips validates if a slice of ips in string form are valid
	//
	// optional bool ips = 80058952;
	E_Ips = &file_fits_api_v1_predefined_rules_proto_extTypes[11]
	// AreHostAndPort validates if a slice of strings are all in the form of <ip | host>:<port>
	//
	// optional bool are_host_and_port = 80058953;
	E_AreHostAndPort = &file_fits_api_v1_predefined_rules_proto_extTypes[12]
	// All Trimmed enforces all strings to be trimmed, e.g. no whitespaces at the begin and end
	//
	// optional bool all_trimmed = 80058954;
	E_AllTrimmed = &file_fits_api_v1_predefined_rules_proto_extTypes[13]
)

Extension fields to validate.RepeatedRules.

View Source
var (
	// Keys and Values trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
	//
	// optional bool keys_and_values_trimmed = 80068951;
	E_KeysAndValuesTrimmed = &file_fits_api_v1_predefined_rules_proto_extTypes[14]
	// Keys trimmed enforces all map keys and values to be trimmed, e.g. no whitespaces at the begin and end
	//
	// optional bool keys_trimmed = 80068952;
	E_KeysTrimmed = &file_fits_api_v1_predefined_rules_proto_extTypes[15]
)

Extension fields to validate.MapRules.

View Source
var (
	TokenType_name = map[int32]string{
		0: "TOKEN_TYPE_UNSPECIFIED",
		1: "TOKEN_TYPE_API",
		2: "TOKEN_TYPE_USER",
	}
	TokenType_value = map[string]int32{
		"TOKEN_TYPE_UNSPECIFIED": 0,
		"TOKEN_TYPE_API":         1,
		"TOKEN_TYPE_USER":        2,
	}
)

Enum value maps for TokenType.

View Source
var (
	// StringValue which can be set to a enum
	//
	// optional string enum_string_value = 52000;
	E_EnumStringValue = &file_fits_api_v1_common_proto_extTypes[5]
)

Extension fields to descriptorpb.EnumValueOptions.

View Source
var File_fits_api_v1_common_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_health_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_ip_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_method_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_predefined_rules_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_project_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_tenant_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_token_proto protoreflect.FileDescriptor
View Source
var File_fits_api_v1_version_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminRole

type AdminRole int32

AdminRole specifies what role a logged in user needs to call this admin service

const (
	// ADMIN_ROLE_UNSPECIFIED is not specified
	AdminRole_ADMIN_ROLE_UNSPECIFIED AdminRole = 0
	// ADMIN_ROLE_EDITOR the logged in user needs at least editor role to call this method
	AdminRole_ADMIN_ROLE_EDITOR AdminRole = 1
	// ADMIN_ROLE_VIEWER the logged in user needs at least viewer role to call this method
	AdminRole_ADMIN_ROLE_VIEWER AdminRole = 2
)

func (AdminRole) Descriptor

func (AdminRole) Descriptor() protoreflect.EnumDescriptor

func (AdminRole) Enum

func (x AdminRole) Enum() *AdminRole

func (AdminRole) EnumDescriptor deprecated

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

Deprecated: Use AdminRole.Descriptor instead.

func (AdminRole) Number

func (x AdminRole) Number() protoreflect.EnumNumber

func (AdminRole) String

func (x AdminRole) String() string

func (AdminRole) Type

type Auditing

type Auditing int32

Auditing option specified per service method by default all service methods are included add the auditing option if you want to exclude a method in auditing

const (
	// AUDITING_UNSPECIFIED is not specified
	Auditing_AUDITING_UNSPECIFIED Auditing = 0
	// AUDITING_INCLUDED if a method is annotated with this, all calls are audited
	Auditing_AUDITING_INCLUDED Auditing = 1
	// AUDITING_EXCLUDED if a method is annotated with this, no calls are audited
	Auditing_AUDITING_EXCLUDED Auditing = 2
)

func (Auditing) Descriptor

func (Auditing) Descriptor() protoreflect.EnumDescriptor

func (Auditing) Enum

func (x Auditing) Enum() *Auditing

func (Auditing) EnumDescriptor deprecated

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

Deprecated: Use Auditing.Descriptor instead.

func (Auditing) Number

func (x Auditing) Number() protoreflect.EnumNumber

func (Auditing) String

func (x Auditing) String() string

func (Auditing) Type

type Health

type Health struct {

	// Services contains the health of all individual services
	Services []*HealthStatus `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// contains filtered or unexported fields
}

Health reports the health status of all services.

func (*Health) Descriptor deprecated

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

Deprecated: Use Health.ProtoReflect.Descriptor instead.

func (*Health) GetServices

func (x *Health) GetServices() []*HealthStatus

func (*Health) ProtoMessage

func (*Health) ProtoMessage()

func (*Health) ProtoReflect

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

func (*Health) Reset

func (x *Health) Reset()

func (*Health) String

func (x *Health) String() string

type HealthServiceGetRequest

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

HealthServiceGetRequest is the request payload for getting the health of the system.

func (*HealthServiceGetRequest) Descriptor deprecated

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

Deprecated: Use HealthServiceGetRequest.ProtoReflect.Descriptor instead.

func (*HealthServiceGetRequest) ProtoMessage

func (*HealthServiceGetRequest) ProtoMessage()

func (*HealthServiceGetRequest) ProtoReflect

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

func (*HealthServiceGetRequest) Reset

func (x *HealthServiceGetRequest) Reset()

func (*HealthServiceGetRequest) String

func (x *HealthServiceGetRequest) String() string

type HealthServiceGetResponse

type HealthServiceGetResponse struct {

	// Health contains the overall health of the system
	Health *Health `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
	// contains filtered or unexported fields
}

HealthServiceGetResponse is the response payload for getting the health of the system.

func (*HealthServiceGetResponse) Descriptor deprecated

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

Deprecated: Use HealthServiceGetResponse.ProtoReflect.Descriptor instead.

func (*HealthServiceGetResponse) GetHealth

func (x *HealthServiceGetResponse) GetHealth() *Health

func (*HealthServiceGetResponse) ProtoMessage

func (*HealthServiceGetResponse) ProtoMessage()

func (*HealthServiceGetResponse) ProtoReflect

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

func (*HealthServiceGetResponse) Reset

func (x *HealthServiceGetResponse) Reset()

func (*HealthServiceGetResponse) String

func (x *HealthServiceGetResponse) String() string

type HealthStatus

type HealthStatus struct {

	// Name is the name of the service
	Name Service `protobuf:"varint,1,opt,name=name,proto3,enum=fits.api.v1.Service" json:"name,omitempty"`
	// Status is the status of this service
	Status ServiceStatus `protobuf:"varint,2,opt,name=status,proto3,enum=fits.api.v1.ServiceStatus" json:"status,omitempty"`
	// Message describes the reason for the unhealthy status if possible
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// Partitions describes the health of the service by partition
	Partitions map[string]*PartitionHealth `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

HealthStatus represents the health status of one service.

func (*HealthStatus) Descriptor deprecated

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

Deprecated: Use HealthStatus.ProtoReflect.Descriptor instead.

func (*HealthStatus) GetMessage

func (x *HealthStatus) GetMessage() string

func (*HealthStatus) GetName

func (x *HealthStatus) GetName() Service

func (*HealthStatus) GetPartitions

func (x *HealthStatus) GetPartitions() map[string]*PartitionHealth

func (*HealthStatus) GetStatus

func (x *HealthStatus) GetStatus() ServiceStatus

func (*HealthStatus) ProtoMessage

func (*HealthStatus) ProtoMessage()

func (*HealthStatus) ProtoReflect

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

func (*HealthStatus) Reset

func (x *HealthStatus) Reset()

func (*HealthStatus) String

func (x *HealthStatus) String() string

type IP

type IP struct {

	// Uuid of this ip
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this ip
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Ip is either ipv4 or ipv6 address
	Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// Name of this ip
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this ip
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Network is the network this ip belongs to
	Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"`
	// Project where this ip address belongs to
	Project string `protobuf:"bytes,7,opt,name=project,proto3" json:"project,omitempty"`
	// Type of this ip
	Type IPType `protobuf:"varint,8,opt,name=type,proto3,enum=fits.api.v1.IPType" json:"type,omitempty"`
	// Namespace if specified this ip is from a namespaced network and can therefore overlap with others
	// Will be equal with project most of the time
	Namespace *string `protobuf:"bytes,9,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

IP is a ip address which can be used as loadbalancer addresses

func (*IP) Descriptor deprecated

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

Deprecated: Use IP.ProtoReflect.Descriptor instead.

func (*IP) GetDescription

func (x *IP) GetDescription() string

func (*IP) GetIp

func (x *IP) GetIp() string

func (*IP) GetMeta

func (x *IP) GetMeta() *Meta

func (*IP) GetName

func (x *IP) GetName() string

func (*IP) GetNamespace

func (x *IP) GetNamespace() string

func (*IP) GetNetwork

func (x *IP) GetNetwork() string

func (*IP) GetProject

func (x *IP) GetProject() string

func (*IP) GetType

func (x *IP) GetType() IPType

func (*IP) GetUuid

func (x *IP) GetUuid() string

func (*IP) ProtoMessage

func (*IP) ProtoMessage()

func (*IP) ProtoReflect

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

func (*IP) Reset

func (x *IP) Reset()

func (*IP) String

func (x *IP) String() string

type IPAddressFamily

type IPAddressFamily int32

IPAddressFamily defines either IPv4 or IPv6 Addressfamily

const (
	// IP_ADDRESS_FAMILY_UNSPECIFIED is not specified
	IPAddressFamily_IP_ADDRESS_FAMILY_UNSPECIFIED IPAddressFamily = 0
	// IP_ADDRESS_FAMILY_V4 defines a IPv4 address
	IPAddressFamily_IP_ADDRESS_FAMILY_V4 IPAddressFamily = 1
	// IP_ADDRESS_FAMILY_V6 defines a IPv6 address
	IPAddressFamily_IP_ADDRESS_FAMILY_V6 IPAddressFamily = 2
)

func (IPAddressFamily) Descriptor

func (IPAddressFamily) Enum

func (x IPAddressFamily) Enum() *IPAddressFamily

func (IPAddressFamily) EnumDescriptor deprecated

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

Deprecated: Use IPAddressFamily.Descriptor instead.

func (IPAddressFamily) Number

func (IPAddressFamily) String

func (x IPAddressFamily) String() string

func (IPAddressFamily) Type

type IPQuery

type IPQuery struct {

	// Ip the ip to list
	Ip *string `protobuf:"bytes,1,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// Network from where the ips to list
	Network *string `protobuf:"bytes,2,opt,name=network,proto3,oneof" json:"network,omitempty"`
	// Project of the ips to list
	Project *string `protobuf:"bytes,3,opt,name=project,proto3,oneof" json:"project,omitempty"`
	// Name of this ip
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Uuid for which this ips should get filtered
	Uuid *string `protobuf:"bytes,5,opt,name=uuid,proto3,oneof" json:"uuid,omitempty"`
	// Machine for which this ips should get filtered
	Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
	// ParentPrefixCidr for which this ips should get filtered
	ParentPrefixCidr *string `protobuf:"bytes,7,opt,name=parent_prefix_cidr,json=parentPrefixCidr,proto3,oneof" json:"parent_prefix_cidr,omitempty"`
	// Labels for which this ips should get filtered
	Labels *Labels `protobuf:"bytes,8,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Static if set to true, this will be a Static ip
	Type *IPType `protobuf:"varint,9,opt,name=type,proto3,enum=fits.api.v1.IPType,oneof" json:"type,omitempty"`
	// Addressfamily of the IPs to list, defaults to all addressfamilies
	AddressFamily *IPAddressFamily `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

IPQuery can be used to query a IP or a list of IP

func (*IPQuery) Descriptor deprecated

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

Deprecated: Use IPQuery.ProtoReflect.Descriptor instead.

func (*IPQuery) GetAddressFamily

func (x *IPQuery) GetAddressFamily() IPAddressFamily

func (*IPQuery) GetIp

func (x *IPQuery) GetIp() string

func (*IPQuery) GetLabels

func (x *IPQuery) GetLabels() *Labels

func (*IPQuery) GetMachine

func (x *IPQuery) GetMachine() string

func (*IPQuery) GetName

func (x *IPQuery) GetName() string

func (*IPQuery) GetNetwork

func (x *IPQuery) GetNetwork() string

func (*IPQuery) GetParentPrefixCidr

func (x *IPQuery) GetParentPrefixCidr() string

func (*IPQuery) GetProject

func (x *IPQuery) GetProject() string

func (*IPQuery) GetType

func (x *IPQuery) GetType() IPType

func (*IPQuery) GetUuid

func (x *IPQuery) GetUuid() string

func (*IPQuery) ProtoMessage

func (*IPQuery) ProtoMessage()

func (*IPQuery) ProtoReflect

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

func (*IPQuery) Reset

func (x *IPQuery) Reset()

func (*IPQuery) String

func (x *IPQuery) String() string

type IPServiceCreateRequest

type IPServiceCreateRequest struct {

	// Network from which the IP should be created
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// Project of the ip
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Name of the ip
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of the ip
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// IP if given try to create this ip if still available
	Ip *string `protobuf:"bytes,5,opt,name=ip,proto3,oneof" json:"ip,omitempty"`
	// Machine for which this ip should get created
	Machine *string `protobuf:"bytes,6,opt,name=machine,proto3,oneof" json:"machine,omitempty"`
	// Labels to put onto the ip
	Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// Type of the IP, ether ephemeral (default), or static
	Type *IPType `protobuf:"varint,8,opt,name=type,proto3,enum=fits.api.v1.IPType,oneof" json:"type,omitempty"`
	// Addressfamily of the IP to create, defaults to ipv4
	AddressFamily *IPAddressFamily `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

IPServiceCreateRequest is the request payload for a ip create request

func (*IPServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use IPServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*IPServiceCreateRequest) GetAddressFamily

func (x *IPServiceCreateRequest) GetAddressFamily() IPAddressFamily

func (*IPServiceCreateRequest) GetDescription

func (x *IPServiceCreateRequest) GetDescription() string

func (*IPServiceCreateRequest) GetIp

func (x *IPServiceCreateRequest) GetIp() string

func (*IPServiceCreateRequest) GetLabels

func (x *IPServiceCreateRequest) GetLabels() *Labels

func (*IPServiceCreateRequest) GetMachine

func (x *IPServiceCreateRequest) GetMachine() string

func (*IPServiceCreateRequest) GetName

func (x *IPServiceCreateRequest) GetName() string

func (*IPServiceCreateRequest) GetNetwork

func (x *IPServiceCreateRequest) GetNetwork() string

func (*IPServiceCreateRequest) GetProject

func (x *IPServiceCreateRequest) GetProject() string

func (*IPServiceCreateRequest) GetType

func (x *IPServiceCreateRequest) GetType() IPType

func (*IPServiceCreateRequest) ProtoMessage

func (*IPServiceCreateRequest) ProtoMessage()

func (*IPServiceCreateRequest) ProtoReflect

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

func (*IPServiceCreateRequest) Reset

func (x *IPServiceCreateRequest) Reset()

func (*IPServiceCreateRequest) String

func (x *IPServiceCreateRequest) String() string

type IPServiceCreateResponse

type IPServiceCreateResponse struct {

	// Ip the ip
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceCreateResponse is the response payload for a ip create request

func (*IPServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use IPServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*IPServiceCreateResponse) GetIp

func (x *IPServiceCreateResponse) GetIp() *IP

func (*IPServiceCreateResponse) ProtoMessage

func (*IPServiceCreateResponse) ProtoMessage()

func (*IPServiceCreateResponse) ProtoReflect

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

func (*IPServiceCreateResponse) Reset

func (x *IPServiceCreateResponse) Reset()

func (*IPServiceCreateResponse) String

func (x *IPServiceCreateResponse) String() string

type IPServiceDeleteRequest

type IPServiceDeleteRequest struct {

	// IP of the ip to delete
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Project of the ip
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

IPServiceDeleteRequest is the request payload for a ip delete request

func (*IPServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use IPServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*IPServiceDeleteRequest) GetIp

func (x *IPServiceDeleteRequest) GetIp() string

func (*IPServiceDeleteRequest) GetProject

func (x *IPServiceDeleteRequest) GetProject() string

func (*IPServiceDeleteRequest) ProtoMessage

func (*IPServiceDeleteRequest) ProtoMessage()

func (*IPServiceDeleteRequest) ProtoReflect

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

func (*IPServiceDeleteRequest) Reset

func (x *IPServiceDeleteRequest) Reset()

func (*IPServiceDeleteRequest) String

func (x *IPServiceDeleteRequest) String() string

type IPServiceDeleteResponse

type IPServiceDeleteResponse struct {

	// Ip the ip
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceDeleteResponse is the response payload for a ip delete request

func (*IPServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use IPServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*IPServiceDeleteResponse) GetIp

func (x *IPServiceDeleteResponse) GetIp() *IP

func (*IPServiceDeleteResponse) ProtoMessage

func (*IPServiceDeleteResponse) ProtoMessage()

func (*IPServiceDeleteResponse) ProtoReflect

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

func (*IPServiceDeleteResponse) Reset

func (x *IPServiceDeleteResponse) Reset()

func (*IPServiceDeleteResponse) String

func (x *IPServiceDeleteResponse) String() string

type IPServiceGetRequest

type IPServiceGetRequest struct {

	// IP of the ip to get
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// Project of the ip
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// Namespace can be specified to get the ip of a namespace.
	Namespace *string `protobuf:"bytes,3,opt,name=namespace,proto3,oneof" json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

IPServiceGetRequest is the request payload for a ip get request

func (*IPServiceGetRequest) Descriptor deprecated

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

Deprecated: Use IPServiceGetRequest.ProtoReflect.Descriptor instead.

func (*IPServiceGetRequest) GetIp

func (x *IPServiceGetRequest) GetIp() string

func (*IPServiceGetRequest) GetNamespace

func (x *IPServiceGetRequest) GetNamespace() string

func (*IPServiceGetRequest) GetProject

func (x *IPServiceGetRequest) GetProject() string

func (*IPServiceGetRequest) ProtoMessage

func (*IPServiceGetRequest) ProtoMessage()

func (*IPServiceGetRequest) ProtoReflect

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

func (*IPServiceGetRequest) Reset

func (x *IPServiceGetRequest) Reset()

func (*IPServiceGetRequest) String

func (x *IPServiceGetRequest) String() string

type IPServiceGetResponse

type IPServiceGetResponse struct {

	// Ip the ip
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceGetResponse is the response payload for a ip get request

func (*IPServiceGetResponse) Descriptor deprecated

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

Deprecated: Use IPServiceGetResponse.ProtoReflect.Descriptor instead.

func (*IPServiceGetResponse) GetIp

func (x *IPServiceGetResponse) GetIp() *IP

func (*IPServiceGetResponse) ProtoMessage

func (*IPServiceGetResponse) ProtoMessage()

func (*IPServiceGetResponse) ProtoReflect

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

func (*IPServiceGetResponse) Reset

func (x *IPServiceGetResponse) Reset()

func (*IPServiceGetResponse) String

func (x *IPServiceGetResponse) String() string

type IPServiceListRequest

type IPServiceListRequest struct {

	// Project of the ips to list
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// Query to list one ore more ips
	Query *IPQuery `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

IPServiceListRequest is the request payload for a ip list request

func (*IPServiceListRequest) Descriptor deprecated

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

Deprecated: Use IPServiceListRequest.ProtoReflect.Descriptor instead.

func (*IPServiceListRequest) GetProject

func (x *IPServiceListRequest) GetProject() string

func (*IPServiceListRequest) GetQuery

func (x *IPServiceListRequest) GetQuery() *IPQuery

func (*IPServiceListRequest) ProtoMessage

func (*IPServiceListRequest) ProtoMessage()

func (*IPServiceListRequest) ProtoReflect

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

func (*IPServiceListRequest) Reset

func (x *IPServiceListRequest) Reset()

func (*IPServiceListRequest) String

func (x *IPServiceListRequest) String() string

type IPServiceListResponse

type IPServiceListResponse struct {

	// Ips the ips
	Ips []*IP `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"`
	// contains filtered or unexported fields
}

IPServiceListResponse is the response payload for a ip list request

func (*IPServiceListResponse) Descriptor deprecated

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

Deprecated: Use IPServiceListResponse.ProtoReflect.Descriptor instead.

func (*IPServiceListResponse) GetIps

func (x *IPServiceListResponse) GetIps() []*IP

func (*IPServiceListResponse) ProtoMessage

func (*IPServiceListResponse) ProtoMessage()

func (*IPServiceListResponse) ProtoReflect

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

func (*IPServiceListResponse) Reset

func (x *IPServiceListResponse) Reset()

func (*IPServiceListResponse) String

func (x *IPServiceListResponse) String() string

type IPServiceUpdateRequest

type IPServiceUpdateRequest struct {

	// Ip the ip to update
	Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Project id of the ip
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Name of this ip
	Name *string `protobuf:"bytes,4,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this ip
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Type of this ip
	Type *IPType `protobuf:"varint,6,opt,name=type,proto3,enum=fits.api.v1.IPType,oneof" json:"type,omitempty"`
	// Labels on this ip
	Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

IPServiceUpdateRequest is the request payload for a ip update request

func (*IPServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use IPServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*IPServiceUpdateRequest) GetDescription

func (x *IPServiceUpdateRequest) GetDescription() string

func (*IPServiceUpdateRequest) GetIp

func (x *IPServiceUpdateRequest) GetIp() string

func (*IPServiceUpdateRequest) GetLabels

func (x *IPServiceUpdateRequest) GetLabels() *UpdateLabels

func (*IPServiceUpdateRequest) GetName

func (x *IPServiceUpdateRequest) GetName() string

func (*IPServiceUpdateRequest) GetProject

func (x *IPServiceUpdateRequest) GetProject() string

func (*IPServiceUpdateRequest) GetType

func (x *IPServiceUpdateRequest) GetType() IPType

func (*IPServiceUpdateRequest) GetUpdateMeta

func (x *IPServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*IPServiceUpdateRequest) ProtoMessage

func (*IPServiceUpdateRequest) ProtoMessage()

func (*IPServiceUpdateRequest) ProtoReflect

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

func (*IPServiceUpdateRequest) Reset

func (x *IPServiceUpdateRequest) Reset()

func (*IPServiceUpdateRequest) String

func (x *IPServiceUpdateRequest) String() string

type IPServiceUpdateResponse

type IPServiceUpdateResponse struct {

	// Ip the ip
	Ip *IP `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	// contains filtered or unexported fields
}

IPServiceUpdateResponse is the response payload for a ip update request

func (*IPServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use IPServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*IPServiceUpdateResponse) GetIp

func (x *IPServiceUpdateResponse) GetIp() *IP

func (*IPServiceUpdateResponse) ProtoMessage

func (*IPServiceUpdateResponse) ProtoMessage()

func (*IPServiceUpdateResponse) ProtoReflect

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

func (*IPServiceUpdateResponse) Reset

func (x *IPServiceUpdateResponse) Reset()

func (*IPServiceUpdateResponse) String

func (x *IPServiceUpdateResponse) String() string

type IPType

type IPType int32

IPType specifies different ip address types

const (
	// IP_TYPE_UNSPECIFIED is not specified
	IPType_IP_TYPE_UNSPECIFIED IPType = 0
	// IP_TYPE_EPHEMERAL defines a ephemeral ip address which is freed/deleted after usage
	IPType_IP_TYPE_EPHEMERAL IPType = 1
	// IP_TYPE_STATIC defines a static ip address which must be freed/deleted explicitly
	IPType_IP_TYPE_STATIC IPType = 2
)

func (IPType) Descriptor

func (IPType) Descriptor() protoreflect.EnumDescriptor

func (IPType) Enum

func (x IPType) Enum() *IPType

func (IPType) EnumDescriptor deprecated

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

Deprecated: Use IPType.Descriptor instead.

func (IPType) Number

func (x IPType) Number() protoreflect.EnumNumber

func (IPType) String

func (x IPType) String() string

func (IPType) Type

func (IPType) Type() protoreflect.EnumType

type Labels

type Labels struct {

	// Labels consists labels
	Labels map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Labels define additional information to a entity

func (*Labels) Descriptor deprecated

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

Deprecated: Use Labels.ProtoReflect.Descriptor instead.

func (*Labels) GetLabels

func (x *Labels) GetLabels() map[string]string

func (*Labels) ProtoMessage

func (*Labels) ProtoMessage()

func (*Labels) ProtoReflect

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

func (*Labels) Reset

func (x *Labels) Reset()

func (*Labels) String

func (x *Labels) String() string

type Meta

type Meta struct {

	// Tags on this entity
	Labels *Labels `protobuf:"bytes,1,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// CreatedAt is the date when this entity was created
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// UpdatedAt is the date when this entity was updated
	// must be part of the update request to ensure optimistic locking
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Generation identifies how often this entity was modified since creation.
	Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

Meta of a message

func (*Meta) Descriptor deprecated

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

Deprecated: Use Meta.ProtoReflect.Descriptor instead.

func (*Meta) GetCreatedAt

func (x *Meta) GetCreatedAt() *timestamppb.Timestamp

func (*Meta) GetGeneration

func (x *Meta) GetGeneration() uint64

func (*Meta) GetLabels

func (x *Meta) GetLabels() *Labels

func (*Meta) GetUpdatedAt

func (x *Meta) GetUpdatedAt() *timestamppb.Timestamp

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) ProtoReflect

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

func (*Meta) Reset

func (x *Meta) Reset()

func (*Meta) String

func (x *Meta) String() string

type MethodPermission

type MethodPermission struct {

	// Subject maybe either the project or the tenant
	// for which the methods should be allowed
	//
	// asterisk (*) can be specified to match any subject
	// empty string ("") can be specified for requests that do not require a subject, e.g. partition list
	// otherwise either a projectid or a tenant login should be specified
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// Methods which should be accessible
	Methods []string `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

MethodPermission is a mapping from a subject/project to a service method

func (*MethodPermission) Descriptor deprecated

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

Deprecated: Use MethodPermission.ProtoReflect.Descriptor instead.

func (*MethodPermission) GetMethods

func (x *MethodPermission) GetMethods() []string

func (*MethodPermission) GetSubject

func (x *MethodPermission) GetSubject() string

func (*MethodPermission) ProtoMessage

func (*MethodPermission) ProtoMessage()

func (*MethodPermission) ProtoReflect

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

func (*MethodPermission) Reset

func (x *MethodPermission) Reset()

func (*MethodPermission) String

func (x *MethodPermission) String() string

type MethodServiceListRequest

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

MethodServiceListRequest is the request payload for listing all public methods.

func (*MethodServiceListRequest) Descriptor deprecated

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

Deprecated: Use MethodServiceListRequest.ProtoReflect.Descriptor instead.

func (*MethodServiceListRequest) ProtoMessage

func (*MethodServiceListRequest) ProtoMessage()

func (*MethodServiceListRequest) ProtoReflect

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

func (*MethodServiceListRequest) Reset

func (x *MethodServiceListRequest) Reset()

func (*MethodServiceListRequest) String

func (x *MethodServiceListRequest) String() string

type MethodServiceListResponse

type MethodServiceListResponse struct {

	// Methods is a list of methods public callable
	Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

MethodServiceListResponse is the response payload for listing all public methods.

func (*MethodServiceListResponse) Descriptor deprecated

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

Deprecated: Use MethodServiceListResponse.ProtoReflect.Descriptor instead.

func (*MethodServiceListResponse) GetMethods

func (x *MethodServiceListResponse) GetMethods() []string

func (*MethodServiceListResponse) ProtoMessage

func (*MethodServiceListResponse) ProtoMessage()

func (*MethodServiceListResponse) ProtoReflect

func (*MethodServiceListResponse) Reset

func (x *MethodServiceListResponse) Reset()

func (*MethodServiceListResponse) String

func (x *MethodServiceListResponse) String() string

type MethodServiceTokenScopedListRequest

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

MethodServiceTokenScopedListRequest is the request payload for listing all methods callable with the token present in the request.

func (*MethodServiceTokenScopedListRequest) Descriptor deprecated

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

Deprecated: Use MethodServiceTokenScopedListRequest.ProtoReflect.Descriptor instead.

func (*MethodServiceTokenScopedListRequest) ProtoMessage

func (*MethodServiceTokenScopedListRequest) ProtoMessage()

func (*MethodServiceTokenScopedListRequest) ProtoReflect

func (*MethodServiceTokenScopedListRequest) Reset

func (*MethodServiceTokenScopedListRequest) String

type MethodServiceTokenScopedListResponse

type MethodServiceTokenScopedListResponse struct {

	// Permissions contains a list of methods which can be called
	Permissions []*MethodPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// ProjectRoles associates a project ID with the corresponding role of the token owner
	ProjectRoles map[string]ProjectRole `` /* 201-byte string literal not displayed */
	// TenantRoles associates a tenant ID with the corresponding role of the token owner
	TenantRoles map[string]TenantRole `` /* 197-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner
	AdminRole *AdminRole `protobuf:"varint,4,opt,name=admin_role,json=adminRole,proto3,enum=fits.api.v1.AdminRole,oneof" json:"admin_role,omitempty"`
	// contains filtered or unexported fields
}

MethodServiceTokenScopedListResponse is the response payload which contains all methods which are callable with the given token.

func (*MethodServiceTokenScopedListResponse) Descriptor deprecated

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

Deprecated: Use MethodServiceTokenScopedListResponse.ProtoReflect.Descriptor instead.

func (*MethodServiceTokenScopedListResponse) GetAdminRole

func (*MethodServiceTokenScopedListResponse) GetPermissions

func (*MethodServiceTokenScopedListResponse) GetProjectRoles

func (x *MethodServiceTokenScopedListResponse) GetProjectRoles() map[string]ProjectRole

func (*MethodServiceTokenScopedListResponse) GetTenantRoles

func (x *MethodServiceTokenScopedListResponse) GetTenantRoles() map[string]TenantRole

func (*MethodServiceTokenScopedListResponse) ProtoMessage

func (*MethodServiceTokenScopedListResponse) ProtoMessage()

func (*MethodServiceTokenScopedListResponse) ProtoReflect

func (*MethodServiceTokenScopedListResponse) Reset

func (*MethodServiceTokenScopedListResponse) String

type OptimisticLockingStrategy

type OptimisticLockingStrategy int32

OptimisticLockingStrategy defines how optimistic locking should be handled. It defaults to client side, which requires the UpdatedAt timestamp to be provided

const (
	// OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED same as client side
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_UNSPECIFIED OptimisticLockingStrategy = 0
	// OPTIMISTIC_LOCKING_STRATEGY_CLIENT requires UpdatedAt to be specified
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_CLIENT OptimisticLockingStrategy = 1
	// OPTIMISTIC_LOCKING_STRATEGY_SERVER allows to omit UpdatedAt
	// and fetches the most recent entity before updating with the given values with the update request
	OptimisticLockingStrategy_OPTIMISTIC_LOCKING_STRATEGY_SERVER OptimisticLockingStrategy = 2
)

func (OptimisticLockingStrategy) Descriptor

func (OptimisticLockingStrategy) Enum

func (OptimisticLockingStrategy) EnumDescriptor deprecated

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

Deprecated: Use OptimisticLockingStrategy.Descriptor instead.

func (OptimisticLockingStrategy) Number

func (OptimisticLockingStrategy) String

func (x OptimisticLockingStrategy) String() string

func (OptimisticLockingStrategy) Type

type Paging

type Paging struct {

	// Page is used for pagination, if unset only the first page is returned,
	// the list response contains then the page number for the next page.
	Page *uint64 `protobuf:"varint,1,opt,name=page,proto3,oneof" json:"page,omitempty"`
	// Count is the number of results returned per page, if not given server side defaults apply
	Count *uint64 `protobuf:"varint,2,opt,name=count,proto3,oneof" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Paging defines paging for methods with a lot of results

func (*Paging) Descriptor deprecated

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

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) GetCount

func (x *Paging) GetCount() uint64

func (*Paging) GetPage

func (x *Paging) GetPage() uint64

func (*Paging) ProtoMessage

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect

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

func (*Paging) Reset

func (x *Paging) Reset()

func (*Paging) String

func (x *Paging) String() string

type PartitionHealth

type PartitionHealth struct {

	// Status is the health status of the service in this partition
	Status ServiceStatus `protobuf:"varint,1,opt,name=status,proto3,enum=fits.api.v1.ServiceStatus" json:"status,omitempty"`
	// Message describes the reason for the unhealthy status if possible
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

PartitionHealth represents the status of a specific service in this partition.

func (*PartitionHealth) Descriptor deprecated

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

Deprecated: Use PartitionHealth.ProtoReflect.Descriptor instead.

func (*PartitionHealth) GetMessage

func (x *PartitionHealth) GetMessage() string

func (*PartitionHealth) GetStatus

func (x *PartitionHealth) GetStatus() ServiceStatus

func (*PartitionHealth) ProtoMessage

func (*PartitionHealth) ProtoMessage()

func (*PartitionHealth) ProtoReflect

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

func (*PartitionHealth) Reset

func (x *PartitionHealth) Reset()

func (*PartitionHealth) String

func (x *PartitionHealth) String() string

type Project

type Project struct {

	// Uuid of this project
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Meta for this project
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of this project must be unique per tenant
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this project
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Tenant this project belongs to
	Tenant string `protobuf:"bytes,5,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// AvatarUrl of the Project
	AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Slug is an immutable identifier of the project.
	// Guaranteed to be unique within a tenant.
	Slug string `protobuf:"bytes,7,opt,name=slug,proto3" json:"slug,omitempty"`
	// contains filtered or unexported fields
}

Project defines a group of resources belonging to a tenant a tenant can have multiple projects

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetAvatarUrl

func (x *Project) GetAvatarUrl() string

func (*Project) GetDescription

func (x *Project) GetDescription() string

func (*Project) GetMeta

func (x *Project) GetMeta() *Meta

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetSlug

func (x *Project) GetSlug() string

func (*Project) GetTenant

func (x *Project) GetTenant() string

func (*Project) GetUuid

func (x *Project) GetUuid() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectRole

type ProjectRole int32

ProjectRole specifies what role a logged in user needs to call this project scoped service

const (
	// PROJECT_ROLE_UNSPECIFIED is not specified
	ProjectRole_PROJECT_ROLE_UNSPECIFIED ProjectRole = 0
	// PROJECT_ROLE_OWNER the logged in user needs at least owner role to call this method
	ProjectRole_PROJECT_ROLE_OWNER ProjectRole = 1
	// PROJECT_ROLE_EDITOR the logged in user needs at least editor role to call this method
	ProjectRole_PROJECT_ROLE_EDITOR ProjectRole = 2
	// PROJECT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
	ProjectRole_PROJECT_ROLE_VIEWER ProjectRole = 3
)

func (ProjectRole) Descriptor

func (ProjectRole) Enum

func (x ProjectRole) Enum() *ProjectRole

func (ProjectRole) EnumDescriptor deprecated

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

Deprecated: Use ProjectRole.Descriptor instead.

func (ProjectRole) Number

func (x ProjectRole) Number() protoreflect.EnumNumber

func (ProjectRole) String

func (x ProjectRole) String() string

func (ProjectRole) Type

type ProjectServiceCreateRequest

type ProjectServiceCreateRequest struct {

	// Tenant is the tenant of this project (the tenant login)
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// Name of this project, unique per tenant
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this project
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Avatar URL of the project
	AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the project
	Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceCreateRequest is the request payload to Create a project

func (*ProjectServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceCreateRequest) GetAvatarUrl

func (x *ProjectServiceCreateRequest) GetAvatarUrl() string

func (*ProjectServiceCreateRequest) GetDescription

func (x *ProjectServiceCreateRequest) GetDescription() string

func (*ProjectServiceCreateRequest) GetLabels

func (x *ProjectServiceCreateRequest) GetLabels() *Labels

func (*ProjectServiceCreateRequest) GetName

func (x *ProjectServiceCreateRequest) GetName() string

func (*ProjectServiceCreateRequest) GetTenant

func (x *ProjectServiceCreateRequest) GetTenant() string

func (*ProjectServiceCreateRequest) ProtoMessage

func (*ProjectServiceCreateRequest) ProtoMessage()

func (*ProjectServiceCreateRequest) ProtoReflect

func (*ProjectServiceCreateRequest) Reset

func (x *ProjectServiceCreateRequest) Reset()

func (*ProjectServiceCreateRequest) String

func (x *ProjectServiceCreateRequest) String() string

type ProjectServiceCreateResponse

type ProjectServiceCreateResponse struct {

	// Project is the project
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceCreateResponse is the response payload of creation of a project

func (*ProjectServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceCreateResponse) GetProject

func (x *ProjectServiceCreateResponse) GetProject() *Project

func (*ProjectServiceCreateResponse) ProtoMessage

func (*ProjectServiceCreateResponse) ProtoMessage()

func (*ProjectServiceCreateResponse) ProtoReflect

func (*ProjectServiceCreateResponse) Reset

func (x *ProjectServiceCreateResponse) Reset()

func (*ProjectServiceCreateResponse) String

type ProjectServiceDeleteRequest

type ProjectServiceDeleteRequest struct {

	// Project is the uuid of the project to get
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceDeleteRequest is the request payload to delete a project

func (*ProjectServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceDeleteRequest) GetProject

func (x *ProjectServiceDeleteRequest) GetProject() string

func (*ProjectServiceDeleteRequest) ProtoMessage

func (*ProjectServiceDeleteRequest) ProtoMessage()

func (*ProjectServiceDeleteRequest) ProtoReflect

func (*ProjectServiceDeleteRequest) Reset

func (x *ProjectServiceDeleteRequest) Reset()

func (*ProjectServiceDeleteRequest) String

func (x *ProjectServiceDeleteRequest) String() string

type ProjectServiceDeleteResponse

type ProjectServiceDeleteResponse struct {

	// Project is the project
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceDeleteResponse is the response payload to delete a project

func (*ProjectServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceDeleteResponse) GetProject

func (x *ProjectServiceDeleteResponse) GetProject() *Project

func (*ProjectServiceDeleteResponse) ProtoMessage

func (*ProjectServiceDeleteResponse) ProtoMessage()

func (*ProjectServiceDeleteResponse) ProtoReflect

func (*ProjectServiceDeleteResponse) Reset

func (x *ProjectServiceDeleteResponse) Reset()

func (*ProjectServiceDeleteResponse) String

type ProjectServiceGetRequest

type ProjectServiceGetRequest struct {

	// Project is the uuid of the project to get
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceGetRequest is the request payload to get a project

func (*ProjectServiceGetRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceGetRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceGetRequest) GetProject

func (x *ProjectServiceGetRequest) GetProject() string

func (*ProjectServiceGetRequest) ProtoMessage

func (*ProjectServiceGetRequest) ProtoMessage()

func (*ProjectServiceGetRequest) ProtoReflect

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

func (*ProjectServiceGetRequest) Reset

func (x *ProjectServiceGetRequest) Reset()

func (*ProjectServiceGetRequest) String

func (x *ProjectServiceGetRequest) String() string

type ProjectServiceGetResponse

type ProjectServiceGetResponse struct {

	// Project is the project
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceGetResponse is the response payload to get a projects

func (*ProjectServiceGetResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceGetResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceGetResponse) GetProject

func (x *ProjectServiceGetResponse) GetProject() *Project

func (*ProjectServiceGetResponse) ProtoMessage

func (*ProjectServiceGetResponse) ProtoMessage()

func (*ProjectServiceGetResponse) ProtoReflect

func (*ProjectServiceGetResponse) Reset

func (x *ProjectServiceGetResponse) Reset()

func (*ProjectServiceGetResponse) String

func (x *ProjectServiceGetResponse) String() string

type ProjectServiceListRequest

type ProjectServiceListRequest struct {

	// Id lists only projects with this id
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name lists only projects with this name
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Tenant lists only projects of this tenant
	Tenant *string `protobuf:"bytes,3,opt,name=tenant,proto3,oneof" json:"tenant,omitempty"`
	// Labels lists only projects containing the given labels
	Labels *Labels `protobuf:"bytes,4,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceListRequest is the request payload to list all projects

func (*ProjectServiceListRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceListRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceListRequest) GetId

func (x *ProjectServiceListRequest) GetId() string

func (*ProjectServiceListRequest) GetLabels

func (x *ProjectServiceListRequest) GetLabels() *Labels

func (*ProjectServiceListRequest) GetName

func (x *ProjectServiceListRequest) GetName() string

func (*ProjectServiceListRequest) GetTenant

func (x *ProjectServiceListRequest) GetTenant() string

func (*ProjectServiceListRequest) ProtoMessage

func (*ProjectServiceListRequest) ProtoMessage()

func (*ProjectServiceListRequest) ProtoReflect

func (*ProjectServiceListRequest) Reset

func (x *ProjectServiceListRequest) Reset()

func (*ProjectServiceListRequest) String

func (x *ProjectServiceListRequest) String() string

type ProjectServiceListResponse

type ProjectServiceListResponse struct {

	// Projects is a list of all your projects
	Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceListResponse is the response payload to list all projects

func (*ProjectServiceListResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceListResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceListResponse) GetProjects

func (x *ProjectServiceListResponse) GetProjects() []*Project

func (*ProjectServiceListResponse) ProtoMessage

func (*ProjectServiceListResponse) ProtoMessage()

func (*ProjectServiceListResponse) ProtoReflect

func (*ProjectServiceListResponse) Reset

func (x *ProjectServiceListResponse) Reset()

func (*ProjectServiceListResponse) String

func (x *ProjectServiceListResponse) String() string

type ProjectServiceUpdateRequest

type ProjectServiceUpdateRequest struct {

	// Project is the uuid of the project to get
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Name of this project unique per tenant
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Description of this project
	Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Avatar URL of the project
	AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on this project
	Labels *UpdateLabels `protobuf:"bytes,6,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateRequest is the request payload to update a project

func (*ProjectServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateRequest) GetAvatarUrl

func (x *ProjectServiceUpdateRequest) GetAvatarUrl() string

func (*ProjectServiceUpdateRequest) GetDescription

func (x *ProjectServiceUpdateRequest) GetDescription() string

func (*ProjectServiceUpdateRequest) GetLabels

func (x *ProjectServiceUpdateRequest) GetLabels() *UpdateLabels

func (*ProjectServiceUpdateRequest) GetName

func (x *ProjectServiceUpdateRequest) GetName() string

func (*ProjectServiceUpdateRequest) GetProject

func (x *ProjectServiceUpdateRequest) GetProject() string

func (*ProjectServiceUpdateRequest) GetUpdateMeta

func (x *ProjectServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*ProjectServiceUpdateRequest) ProtoMessage

func (*ProjectServiceUpdateRequest) ProtoMessage()

func (*ProjectServiceUpdateRequest) ProtoReflect

func (*ProjectServiceUpdateRequest) Reset

func (x *ProjectServiceUpdateRequest) Reset()

func (*ProjectServiceUpdateRequest) String

func (x *ProjectServiceUpdateRequest) String() string

type ProjectServiceUpdateResponse

type ProjectServiceUpdateResponse struct {

	// Project is the project
	Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

ProjectServiceUpdateResponse is the response payload to update a project

func (*ProjectServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use ProjectServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*ProjectServiceUpdateResponse) GetProject

func (x *ProjectServiceUpdateResponse) GetProject() *Project

func (*ProjectServiceUpdateResponse) ProtoMessage

func (*ProjectServiceUpdateResponse) ProtoMessage()

func (*ProjectServiceUpdateResponse) ProtoReflect

func (*ProjectServiceUpdateResponse) Reset

func (x *ProjectServiceUpdateResponse) Reset()

func (*ProjectServiceUpdateResponse) String

type Service

type Service int32

Service defines the service for which the healthiness is reported.

const (
	// SERVICE_UNSPECIFIED is a unknown service
	Service_SERVICE_UNSPECIFIED Service = 0
	// SERVICE_K8S the kubernetes service
	Service_SERVICE_K8S Service = 1
)

func (Service) Descriptor

func (Service) Descriptor() protoreflect.EnumDescriptor

func (Service) Enum

func (x Service) Enum() *Service

func (Service) EnumDescriptor deprecated

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

Deprecated: Use Service.Descriptor instead.

func (Service) Number

func (x Service) Number() protoreflect.EnumNumber

func (Service) String

func (x Service) String() string

func (Service) Type

func (Service) Type() protoreflect.EnumType

type ServiceStatus

type ServiceStatus int32

ServiceStatus defines the status of a service.

const (
	// SERVICE_STATUS_UNSPECIFIED service status is not known or unspecified
	ServiceStatus_SERVICE_STATUS_UNSPECIFIED ServiceStatus = 0
	// SERVICE_STATUS_DEGRADED the service is in degraded status, not the whole functionality is available
	ServiceStatus_SERVICE_STATUS_DEGRADED ServiceStatus = 1
	// SERVICE_STATUS_UNHEALTHY the service is in unhealthy status, serious impact is expected
	ServiceStatus_SERVICE_STATUS_UNHEALTHY ServiceStatus = 2
	// SERVICE_STATUS_HEALTHY the service is in healthy status, for example fully functional
	ServiceStatus_SERVICE_STATUS_HEALTHY ServiceStatus = 3
)

func (ServiceStatus) Descriptor

func (ServiceStatus) Enum

func (x ServiceStatus) Enum() *ServiceStatus

func (ServiceStatus) EnumDescriptor deprecated

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

Deprecated: Use ServiceStatus.Descriptor instead.

func (ServiceStatus) Number

func (ServiceStatus) String

func (x ServiceStatus) String() string

func (ServiceStatus) Type

type Tenant

type Tenant struct {

	// Login of the tenant
	Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"`
	// Meta for this tenant
	Meta *Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	// Name of the tenant
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Email of the tenant
	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	// Description of this tenant
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// AvatarUrl of the tenant
	AvatarUrl string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
	// CreatedBy stores who created this tenant
	CreatedBy string `protobuf:"bytes,7,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

Tenant is a customer of the platform

func (*Tenant) Descriptor deprecated

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

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetAvatarUrl

func (x *Tenant) GetAvatarUrl() string

func (*Tenant) GetCreatedBy

func (x *Tenant) GetCreatedBy() string

func (*Tenant) GetDescription

func (x *Tenant) GetDescription() string

func (*Tenant) GetEmail

func (x *Tenant) GetEmail() string

func (*Tenant) GetLogin

func (x *Tenant) GetLogin() string

func (*Tenant) GetMeta

func (x *Tenant) GetMeta() *Meta

func (*Tenant) GetName

func (x *Tenant) GetName() string

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect

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

func (*Tenant) Reset

func (x *Tenant) Reset()

func (*Tenant) String

func (x *Tenant) String() string

type TenantRole

type TenantRole int32

TenantRole specifies what role a logged in user needs to call this tenant scoped service

const (
	// TENANT_ROLE_UNSPECIFIED is not specified
	TenantRole_TENANT_ROLE_UNSPECIFIED TenantRole = 0
	// TENANT_ROLE_OWNER the logged in user needs at least owner role to call this method
	TenantRole_TENANT_ROLE_OWNER TenantRole = 1
	// TENANT_ROLE_EDITOR the logged in user needs at least editor role to call this method
	TenantRole_TENANT_ROLE_EDITOR TenantRole = 2
	// TENANT_ROLE_VIEWER the logged in user needs at least viewer role to call this method
	TenantRole_TENANT_ROLE_VIEWER TenantRole = 3
	// TENANT_ROLE_GUEST the logged in user needs at least guest role to call this method
	// The guest role is assumed by users who are invited to a tenant's project without them
	// having a direct membership within the tenant.
	TenantRole_TENANT_ROLE_GUEST TenantRole = 4
)

func (TenantRole) Descriptor

func (TenantRole) Descriptor() protoreflect.EnumDescriptor

func (TenantRole) Enum

func (x TenantRole) Enum() *TenantRole

func (TenantRole) EnumDescriptor deprecated

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

Deprecated: Use TenantRole.Descriptor instead.

func (TenantRole) Number

func (x TenantRole) Number() protoreflect.EnumNumber

func (TenantRole) String

func (x TenantRole) String() string

func (TenantRole) Type

type TenantServiceCreateRequest

type TenantServiceCreateRequest struct {

	// Name of this tenant
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of this tenant
	Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Email of the tenant, if not set will be inherited from the creator
	Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// AvatarUrl of the tenant
	AvatarUrl *string `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the tenant
	Labels *Labels `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceCreateRequest is the request payload of the tenant create request

func (*TenantServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceCreateRequest) GetAvatarUrl

func (x *TenantServiceCreateRequest) GetAvatarUrl() string

func (*TenantServiceCreateRequest) GetDescription

func (x *TenantServiceCreateRequest) GetDescription() string

func (*TenantServiceCreateRequest) GetEmail

func (x *TenantServiceCreateRequest) GetEmail() string

func (*TenantServiceCreateRequest) GetLabels

func (x *TenantServiceCreateRequest) GetLabels() *Labels

func (*TenantServiceCreateRequest) GetName

func (x *TenantServiceCreateRequest) GetName() string

func (*TenantServiceCreateRequest) ProtoMessage

func (*TenantServiceCreateRequest) ProtoMessage()

func (*TenantServiceCreateRequest) ProtoReflect

func (*TenantServiceCreateRequest) Reset

func (x *TenantServiceCreateRequest) Reset()

func (*TenantServiceCreateRequest) String

func (x *TenantServiceCreateRequest) String() string

type TenantServiceCreateResponse

type TenantServiceCreateResponse struct {

	// Tenant is the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceCreateResponse is the response payload of the tenant create request

func (*TenantServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceCreateResponse) GetTenant

func (x *TenantServiceCreateResponse) GetTenant() *Tenant

func (*TenantServiceCreateResponse) ProtoMessage

func (*TenantServiceCreateResponse) ProtoMessage()

func (*TenantServiceCreateResponse) ProtoReflect

func (*TenantServiceCreateResponse) Reset

func (x *TenantServiceCreateResponse) Reset()

func (*TenantServiceCreateResponse) String

func (x *TenantServiceCreateResponse) String() string

type TenantServiceDeleteRequest

type TenantServiceDeleteRequest struct {

	// Tenant is the login of the tenant
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceDeleteRequest is the request payload of the tenant delete request

func (*TenantServiceDeleteRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceDeleteRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceDeleteRequest) GetTenant

func (x *TenantServiceDeleteRequest) GetTenant() string

func (*TenantServiceDeleteRequest) ProtoMessage

func (*TenantServiceDeleteRequest) ProtoMessage()

func (*TenantServiceDeleteRequest) ProtoReflect

func (*TenantServiceDeleteRequest) Reset

func (x *TenantServiceDeleteRequest) Reset()

func (*TenantServiceDeleteRequest) String

func (x *TenantServiceDeleteRequest) String() string

type TenantServiceDeleteResponse

type TenantServiceDeleteResponse struct {

	// Tenant is the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceDeleteResponse is the response payload of the tenant delete request

func (*TenantServiceDeleteResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceDeleteResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceDeleteResponse) GetTenant

func (x *TenantServiceDeleteResponse) GetTenant() *Tenant

func (*TenantServiceDeleteResponse) ProtoMessage

func (*TenantServiceDeleteResponse) ProtoMessage()

func (*TenantServiceDeleteResponse) ProtoReflect

func (*TenantServiceDeleteResponse) Reset

func (x *TenantServiceDeleteResponse) Reset()

func (*TenantServiceDeleteResponse) String

func (x *TenantServiceDeleteResponse) String() string

type TenantServiceGetRequest

type TenantServiceGetRequest struct {

	// Tenant is the login of the tenant
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceGetRequest is the request payload of the tenant get request

func (*TenantServiceGetRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceGetRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceGetRequest) GetTenant

func (x *TenantServiceGetRequest) GetTenant() string

func (*TenantServiceGetRequest) ProtoMessage

func (*TenantServiceGetRequest) ProtoMessage()

func (*TenantServiceGetRequest) ProtoReflect

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

func (*TenantServiceGetRequest) Reset

func (x *TenantServiceGetRequest) Reset()

func (*TenantServiceGetRequest) String

func (x *TenantServiceGetRequest) String() string

type TenantServiceGetResponse

type TenantServiceGetResponse struct {

	// Tenant is the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceGetResponse is the response payload of the tenant get request

func (*TenantServiceGetResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceGetResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceGetResponse) GetTenant

func (x *TenantServiceGetResponse) GetTenant() *Tenant

func (*TenantServiceGetResponse) ProtoMessage

func (*TenantServiceGetResponse) ProtoMessage()

func (*TenantServiceGetResponse) ProtoReflect

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

func (*TenantServiceGetResponse) Reset

func (x *TenantServiceGetResponse) Reset()

func (*TenantServiceGetResponse) String

func (x *TenantServiceGetResponse) String() string

type TenantServiceListRequest

type TenantServiceListRequest struct {

	// Id filters tenants by id
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Name filters tenants by name
	Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Labels lists only projects containing the given labels
	Labels *Labels `protobuf:"bytes,3,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceListRequest is the request payload of the tenant list request

func (*TenantServiceListRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceListRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceListRequest) GetId

func (x *TenantServiceListRequest) GetId() string

func (*TenantServiceListRequest) GetLabels

func (x *TenantServiceListRequest) GetLabels() *Labels

func (*TenantServiceListRequest) GetName

func (x *TenantServiceListRequest) GetName() string

func (*TenantServiceListRequest) ProtoMessage

func (*TenantServiceListRequest) ProtoMessage()

func (*TenantServiceListRequest) ProtoReflect

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

func (*TenantServiceListRequest) Reset

func (x *TenantServiceListRequest) Reset()

func (*TenantServiceListRequest) String

func (x *TenantServiceListRequest) String() string

type TenantServiceListResponse

type TenantServiceListResponse struct {

	// Tenants is the list of tenants
	Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceListResponse is the response payload of the tenant list request

func (*TenantServiceListResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceListResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceListResponse) GetTenants

func (x *TenantServiceListResponse) GetTenants() []*Tenant

func (*TenantServiceListResponse) ProtoMessage

func (*TenantServiceListResponse) ProtoMessage()

func (*TenantServiceListResponse) ProtoReflect

func (*TenantServiceListResponse) Reset

func (x *TenantServiceListResponse) Reset()

func (*TenantServiceListResponse) String

func (x *TenantServiceListResponse) String() string

type TenantServiceUpdateRequest

type TenantServiceUpdateRequest struct {

	// Tenant is the login of the tenant
	Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Name of the tenant
	Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Email of the tenant
	Email *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	// Description of this tenant
	Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// AvatarUrl of the tenant
	AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
	// Labels on the tenant
	Labels *UpdateLabels `protobuf:"bytes,7,opt,name=labels,proto3,oneof" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateRequest is the request payload of the tenant update request

func (*TenantServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateRequest) GetAvatarUrl

func (x *TenantServiceUpdateRequest) GetAvatarUrl() string

func (*TenantServiceUpdateRequest) GetDescription

func (x *TenantServiceUpdateRequest) GetDescription() string

func (*TenantServiceUpdateRequest) GetEmail

func (x *TenantServiceUpdateRequest) GetEmail() string

func (*TenantServiceUpdateRequest) GetLabels

func (x *TenantServiceUpdateRequest) GetLabels() *UpdateLabels

func (*TenantServiceUpdateRequest) GetName

func (x *TenantServiceUpdateRequest) GetName() string

func (*TenantServiceUpdateRequest) GetTenant

func (x *TenantServiceUpdateRequest) GetTenant() string

func (*TenantServiceUpdateRequest) GetUpdateMeta

func (x *TenantServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*TenantServiceUpdateRequest) ProtoMessage

func (*TenantServiceUpdateRequest) ProtoMessage()

func (*TenantServiceUpdateRequest) ProtoReflect

func (*TenantServiceUpdateRequest) Reset

func (x *TenantServiceUpdateRequest) Reset()

func (*TenantServiceUpdateRequest) String

func (x *TenantServiceUpdateRequest) String() string

type TenantServiceUpdateResponse

type TenantServiceUpdateResponse struct {

	// Tenant is the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantServiceUpdateResponse is the response payload of the tenant update request

func (*TenantServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use TenantServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*TenantServiceUpdateResponse) GetTenant

func (x *TenantServiceUpdateResponse) GetTenant() *Tenant

func (*TenantServiceUpdateResponse) ProtoMessage

func (*TenantServiceUpdateResponse) ProtoMessage()

func (*TenantServiceUpdateResponse) ProtoReflect

func (*TenantServiceUpdateResponse) Reset

func (x *TenantServiceUpdateResponse) Reset()

func (*TenantServiceUpdateResponse) String

func (x *TenantServiceUpdateResponse) String() string

type Token

type Token struct {

	// Uuid of the jwt token, used to reference it by revoke
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// User who created this token
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// Meta for this token
	Meta *Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	// Description is a user given description of this token.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for
	Permissions []*MethodPermission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Expires gives the date in the future after which this token can not be used anymore
	Expires *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expires,proto3" json:"expires,omitempty"`
	// IssuedAt gives the date when this token was created
	IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
	// TokenType describes the type of this token
	TokenType TokenType `protobuf:"varint,8,opt,name=token_type,json=tokenType,proto3,enum=fits.api.v1.TokenType" json:"token_type,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner
	ProjectRoles map[string]ProjectRole `` /* 201-byte string literal not displayed */
	// TenantRoles associates a tenant id with the corresponding role of the token owner
	TenantRoles map[string]TenantRole `` /* 198-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner
	AdminRole *AdminRole `protobuf:"varint,11,opt,name=admin_role,json=adminRole,proto3,enum=fits.api.v1.AdminRole,oneof" json:"admin_role,omitempty"`
	// contains filtered or unexported fields
}

Token generates a jwt authentication token to access the api

There are two different types of tokens, api- and user- tokens

A user token is used to authenticate end user requests for example from a cli. The configured roles in a user token are expanded in the api server based on the memberships in other projects and tenants based on the role granted there. User tokens will never contain permissions. Permissions are always derived from the tenant and project roles and memberships.

The api token should be used to authenticate services. In contrast to a user token, the api token permissions and roles apply as configured during the token create process.

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetAdminRole

func (x *Token) GetAdminRole() AdminRole

func (*Token) GetDescription

func (x *Token) GetDescription() string

func (*Token) GetExpires

func (x *Token) GetExpires() *timestamppb.Timestamp

func (*Token) GetIssuedAt

func (x *Token) GetIssuedAt() *timestamppb.Timestamp

func (*Token) GetMeta

func (x *Token) GetMeta() *Meta

func (*Token) GetPermissions

func (x *Token) GetPermissions() []*MethodPermission

func (*Token) GetProjectRoles

func (x *Token) GetProjectRoles() map[string]ProjectRole

func (*Token) GetTenantRoles

func (x *Token) GetTenantRoles() map[string]TenantRole

func (*Token) GetTokenType

func (x *Token) GetTokenType() TokenType

func (*Token) GetUser

func (x *Token) GetUser() string

func (*Token) GetUuid

func (x *Token) GetUuid() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type TokenServiceCreateRequest

type TokenServiceCreateRequest struct {

	// Description of the token
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for
	Permissions []*MethodPermission `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Expires gives the duration since now, after which this token can not be used anymore
	Expires *durationpb.Duration `protobuf:"bytes,3,opt,name=expires,proto3" json:"expires,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner
	ProjectRoles map[string]ProjectRole `` /* 201-byte string literal not displayed */
	// TenantRoles_associates a tenant id with the corresponding role of the token owner
	TenantRoles map[string]TenantRole `` /* 197-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner
	AdminRole *AdminRole `protobuf:"varint,6,opt,name=admin_role,json=adminRole,proto3,enum=fits.api.v1.AdminRole,oneof" json:"admin_role,omitempty"`
	// Labels on this token
	Labels *Labels `protobuf:"bytes,7,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceCreateRequest is the request payload to create a token

func (*TokenServiceCreateRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceCreateRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateRequest) GetAdminRole

func (x *TokenServiceCreateRequest) GetAdminRole() AdminRole

func (*TokenServiceCreateRequest) GetDescription

func (x *TokenServiceCreateRequest) GetDescription() string

func (*TokenServiceCreateRequest) GetExpires

func (*TokenServiceCreateRequest) GetLabels

func (x *TokenServiceCreateRequest) GetLabels() *Labels

func (*TokenServiceCreateRequest) GetPermissions

func (x *TokenServiceCreateRequest) GetPermissions() []*MethodPermission

func (*TokenServiceCreateRequest) GetProjectRoles

func (x *TokenServiceCreateRequest) GetProjectRoles() map[string]ProjectRole

func (*TokenServiceCreateRequest) GetTenantRoles

func (x *TokenServiceCreateRequest) GetTenantRoles() map[string]TenantRole

func (*TokenServiceCreateRequest) ProtoMessage

func (*TokenServiceCreateRequest) ProtoMessage()

func (*TokenServiceCreateRequest) ProtoReflect

func (*TokenServiceCreateRequest) Reset

func (x *TokenServiceCreateRequest) Reset()

func (*TokenServiceCreateRequest) String

func (x *TokenServiceCreateRequest) String() string

type TokenServiceCreateResponse

type TokenServiceCreateResponse struct {

	// Token which was created
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Secret is the body if the jwt token, should be used in api requests as bearer token
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceCreateResponse is the response payload of a token create request

func (*TokenServiceCreateResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceCreateResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceCreateResponse) GetSecret

func (x *TokenServiceCreateResponse) GetSecret() string

func (*TokenServiceCreateResponse) GetToken

func (x *TokenServiceCreateResponse) GetToken() *Token

func (*TokenServiceCreateResponse) ProtoMessage

func (*TokenServiceCreateResponse) ProtoMessage()

func (*TokenServiceCreateResponse) ProtoReflect

func (*TokenServiceCreateResponse) Reset

func (x *TokenServiceCreateResponse) Reset()

func (*TokenServiceCreateResponse) String

func (x *TokenServiceCreateResponse) String() string

type TokenServiceGetRequest

type TokenServiceGetRequest struct {

	// Uuid of the token to get
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceGetRequest is the request payload of a token get request

func (*TokenServiceGetRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceGetRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceGetRequest) GetUuid

func (x *TokenServiceGetRequest) GetUuid() string

func (*TokenServiceGetRequest) ProtoMessage

func (*TokenServiceGetRequest) ProtoMessage()

func (*TokenServiceGetRequest) ProtoReflect

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

func (*TokenServiceGetRequest) Reset

func (x *TokenServiceGetRequest) Reset()

func (*TokenServiceGetRequest) String

func (x *TokenServiceGetRequest) String() string

type TokenServiceGetResponse

type TokenServiceGetResponse struct {

	// Token is the token
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceGetResponse is the response payload of a token get request

func (*TokenServiceGetResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceGetResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceGetResponse) GetToken

func (x *TokenServiceGetResponse) GetToken() *Token

func (*TokenServiceGetResponse) ProtoMessage

func (*TokenServiceGetResponse) ProtoMessage()

func (*TokenServiceGetResponse) ProtoReflect

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

func (*TokenServiceGetResponse) Reset

func (x *TokenServiceGetResponse) Reset()

func (*TokenServiceGetResponse) String

func (x *TokenServiceGetResponse) String() string

type TokenServiceListRequest

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

TokenServiceListRequest is the request payload to list tokens

func (*TokenServiceListRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceListRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceListRequest) ProtoMessage

func (*TokenServiceListRequest) ProtoMessage()

func (*TokenServiceListRequest) ProtoReflect

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

func (*TokenServiceListRequest) Reset

func (x *TokenServiceListRequest) Reset()

func (*TokenServiceListRequest) String

func (x *TokenServiceListRequest) String() string

type TokenServiceListResponse

type TokenServiceListResponse struct {

	// Tokens is a list of tokens without the secrets
	Tokens []*Token `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceListResponse is the response payload of a token list request

func (*TokenServiceListResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceListResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceListResponse) GetTokens

func (x *TokenServiceListResponse) GetTokens() []*Token

func (*TokenServiceListResponse) ProtoMessage

func (*TokenServiceListResponse) ProtoMessage()

func (*TokenServiceListResponse) ProtoReflect

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

func (*TokenServiceListResponse) Reset

func (x *TokenServiceListResponse) Reset()

func (*TokenServiceListResponse) String

func (x *TokenServiceListResponse) String() string

type TokenServiceRefreshRequest

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

TokenServiceRefreshRequest is the request payload of a token refresh request Permissions, Roles and Expiration duration and all other properties are inherited from the calling token. The expiration duration will be calculated from the existing token (exp - iat)

func (*TokenServiceRefreshRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceRefreshRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceRefreshRequest) ProtoMessage

func (*TokenServiceRefreshRequest) ProtoMessage()

func (*TokenServiceRefreshRequest) ProtoReflect

func (*TokenServiceRefreshRequest) Reset

func (x *TokenServiceRefreshRequest) Reset()

func (*TokenServiceRefreshRequest) String

func (x *TokenServiceRefreshRequest) String() string

type TokenServiceRefreshResponse

type TokenServiceRefreshResponse struct {

	// Token which was refreshed
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// Secret is the body if the jwt token, should be used in api requests as bearer token
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceRefreshResponse is the response payload of a token refresh request

func (*TokenServiceRefreshResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceRefreshResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceRefreshResponse) GetSecret

func (x *TokenServiceRefreshResponse) GetSecret() string

func (*TokenServiceRefreshResponse) GetToken

func (x *TokenServiceRefreshResponse) GetToken() *Token

func (*TokenServiceRefreshResponse) ProtoMessage

func (*TokenServiceRefreshResponse) ProtoMessage()

func (*TokenServiceRefreshResponse) ProtoReflect

func (*TokenServiceRefreshResponse) Reset

func (x *TokenServiceRefreshResponse) Reset()

func (*TokenServiceRefreshResponse) String

func (x *TokenServiceRefreshResponse) String() string

type TokenServiceRevokeRequest

type TokenServiceRevokeRequest struct {

	// Uuid of the token to revoke
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceRevokeRequest is the request payload of a token revoke request

func (*TokenServiceRevokeRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceRevokeRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceRevokeRequest) GetUuid

func (x *TokenServiceRevokeRequest) GetUuid() string

func (*TokenServiceRevokeRequest) ProtoMessage

func (*TokenServiceRevokeRequest) ProtoMessage()

func (*TokenServiceRevokeRequest) ProtoReflect

func (*TokenServiceRevokeRequest) Reset

func (x *TokenServiceRevokeRequest) Reset()

func (*TokenServiceRevokeRequest) String

func (x *TokenServiceRevokeRequest) String() string

type TokenServiceRevokeResponse

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

TokenServiceRevokeResponse is the response payload of a token revoke request

func (*TokenServiceRevokeResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceRevokeResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceRevokeResponse) ProtoMessage

func (*TokenServiceRevokeResponse) ProtoMessage()

func (*TokenServiceRevokeResponse) ProtoReflect

func (*TokenServiceRevokeResponse) Reset

func (x *TokenServiceRevokeResponse) Reset()

func (*TokenServiceRevokeResponse) String

func (x *TokenServiceRevokeResponse) String() string

type TokenServiceUpdateRequest

type TokenServiceUpdateRequest struct {

	// Uuid of the token to update
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// UpdateMeta contains the timestamp and strategy to be used in this update request
	// TokenUpdate is not guarded with optlock in the backend
	UpdateMeta *UpdateMeta `protobuf:"bytes,2,opt,name=update_meta,json=updateMeta,proto3" json:"update_meta,omitempty"`
	// Description is a user given description of this token.
	Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
	// Permissions is a list of service methods this token can be used for
	Permissions []*MethodPermission `protobuf:"bytes,4,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// ProjectRoles associates a project id with the corresponding role of the token owner
	ProjectRoles map[string]ProjectRole `` /* 201-byte string literal not displayed */
	// TenantRoles associates a tenant id with the corresponding role of the token owner
	TenantRoles map[string]TenantRole `` /* 197-byte string literal not displayed */
	// AdminRole defines the admin role of the token owner
	AdminRole *AdminRole `protobuf:"varint,7,opt,name=admin_role,json=adminRole,proto3,enum=fits.api.v1.AdminRole,oneof" json:"admin_role,omitempty"`
	// Labels on this token
	Labels *UpdateLabels `protobuf:"bytes,8,opt,name=labels,proto3" json:"labels,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceUpdateRequest is the request payload of a token update request

func (*TokenServiceUpdateRequest) Descriptor deprecated

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

Deprecated: Use TokenServiceUpdateRequest.ProtoReflect.Descriptor instead.

func (*TokenServiceUpdateRequest) GetAdminRole

func (x *TokenServiceUpdateRequest) GetAdminRole() AdminRole

func (*TokenServiceUpdateRequest) GetDescription

func (x *TokenServiceUpdateRequest) GetDescription() string

func (*TokenServiceUpdateRequest) GetLabels

func (x *TokenServiceUpdateRequest) GetLabels() *UpdateLabels

func (*TokenServiceUpdateRequest) GetPermissions

func (x *TokenServiceUpdateRequest) GetPermissions() []*MethodPermission

func (*TokenServiceUpdateRequest) GetProjectRoles

func (x *TokenServiceUpdateRequest) GetProjectRoles() map[string]ProjectRole

func (*TokenServiceUpdateRequest) GetTenantRoles

func (x *TokenServiceUpdateRequest) GetTenantRoles() map[string]TenantRole

func (*TokenServiceUpdateRequest) GetUpdateMeta

func (x *TokenServiceUpdateRequest) GetUpdateMeta() *UpdateMeta

func (*TokenServiceUpdateRequest) GetUuid

func (x *TokenServiceUpdateRequest) GetUuid() string

func (*TokenServiceUpdateRequest) ProtoMessage

func (*TokenServiceUpdateRequest) ProtoMessage()

func (*TokenServiceUpdateRequest) ProtoReflect

func (*TokenServiceUpdateRequest) Reset

func (x *TokenServiceUpdateRequest) Reset()

func (*TokenServiceUpdateRequest) String

func (x *TokenServiceUpdateRequest) String() string

type TokenServiceUpdateResponse

type TokenServiceUpdateResponse struct {

	// Token is the updated token
	Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

TokenServiceUpdateResponse is the response payload of a token update request

func (*TokenServiceUpdateResponse) Descriptor deprecated

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

Deprecated: Use TokenServiceUpdateResponse.ProtoReflect.Descriptor instead.

func (*TokenServiceUpdateResponse) GetToken

func (x *TokenServiceUpdateResponse) GetToken() *Token

func (*TokenServiceUpdateResponse) ProtoMessage

func (*TokenServiceUpdateResponse) ProtoMessage()

func (*TokenServiceUpdateResponse) ProtoReflect

func (*TokenServiceUpdateResponse) Reset

func (x *TokenServiceUpdateResponse) Reset()

func (*TokenServiceUpdateResponse) String

func (x *TokenServiceUpdateResponse) String() string

type TokenType

type TokenType int32

TokenType specifies different use cases of tokens

const (
	// TOKEN_TYPE_UNSPECIFIED is not specified
	TokenType_TOKEN_TYPE_UNSPECIFIED TokenType = 0
	// TOKEN_TYPE_API is a token for api usage
	TokenType_TOKEN_TYPE_API TokenType = 1
	// TOKEN_TYPE_USER is a token to access the api with cli, a web application or other user induced actions.
	TokenType_TOKEN_TYPE_USER TokenType = 2
)

func (TokenType) Descriptor

func (TokenType) Descriptor() protoreflect.EnumDescriptor

func (TokenType) Enum

func (x TokenType) Enum() *TokenType

func (TokenType) EnumDescriptor deprecated

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

Deprecated: Use TokenType.Descriptor instead.

func (TokenType) Number

func (x TokenType) Number() protoreflect.EnumNumber

func (TokenType) String

func (x TokenType) String() string

func (TokenType) Type

type UpdateLabels

type UpdateLabels struct {

	// Update labels. New ones will be added, existing ones overwritten
	Update *Labels `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"`
	// Remove labels by key
	Remove []string `protobuf:"bytes,2,rep,name=remove,proto3" json:"remove,omitempty"`
	// contains filtered or unexported fields
}

UpdateLabels is a message to update labels

func (*UpdateLabels) Descriptor deprecated

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

Deprecated: Use UpdateLabels.ProtoReflect.Descriptor instead.

func (*UpdateLabels) GetRemove

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

func (*UpdateLabels) GetUpdate

func (x *UpdateLabels) GetUpdate() *Labels

func (*UpdateLabels) ProtoMessage

func (*UpdateLabels) ProtoMessage()

func (*UpdateLabels) ProtoReflect

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

func (*UpdateLabels) Reset

func (x *UpdateLabels) Reset()

func (*UpdateLabels) String

func (x *UpdateLabels) String() string

type UpdateMeta

type UpdateMeta struct {

	// UpdatedAt is the date when this entity was updated
	// must be part of the update request to ensure optimistic locking
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// LockingStrategy to be used for this update request
	LockingStrategy OptimisticLockingStrategy `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

UpdateMeta must be provided with every UpdateRequest to define how optimistic locking should be handled

func (*UpdateMeta) Descriptor deprecated

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

Deprecated: Use UpdateMeta.ProtoReflect.Descriptor instead.

func (*UpdateMeta) GetLockingStrategy

func (x *UpdateMeta) GetLockingStrategy() OptimisticLockingStrategy

func (*UpdateMeta) GetUpdatedAt

func (x *UpdateMeta) GetUpdatedAt() *timestamppb.Timestamp

func (*UpdateMeta) ProtoMessage

func (*UpdateMeta) ProtoMessage()

func (*UpdateMeta) ProtoReflect

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

func (*UpdateMeta) Reset

func (x *UpdateMeta) Reset()

func (*UpdateMeta) String

func (x *UpdateMeta) String() string

type Version

type Version struct {

	// Version of the application
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Revision of the application
	Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
	// GitSHA1 of the application
	GitSha1 string `protobuf:"bytes,3,opt,name=git_sha1,json=gitSha1,proto3" json:"git_sha1,omitempty"`
	// BuildDate of the application
	BuildDate string `protobuf:"bytes,4,opt,name=build_date,json=buildDate,proto3" json:"build_date,omitempty"`
	// contains filtered or unexported fields
}

Version represents the version of the application.

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetBuildDate

func (x *Version) GetBuildDate() string

func (*Version) GetGitSha1

func (x *Version) GetGitSha1() string

func (*Version) GetRevision

func (x *Version) GetRevision() string

func (*Version) GetVersion

func (x *Version) GetVersion() string

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionServiceGetRequest

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

VersionServiceGetRequest is the request payload for getting the version.

func (*VersionServiceGetRequest) Descriptor deprecated

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

Deprecated: Use VersionServiceGetRequest.ProtoReflect.Descriptor instead.

func (*VersionServiceGetRequest) ProtoMessage

func (*VersionServiceGetRequest) ProtoMessage()

func (*VersionServiceGetRequest) ProtoReflect

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

func (*VersionServiceGetRequest) Reset

func (x *VersionServiceGetRequest) Reset()

func (*VersionServiceGetRequest) String

func (x *VersionServiceGetRequest) String() string

type VersionServiceGetResponse

type VersionServiceGetResponse struct {

	// Version contains the version of the application
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

VersionServiceGetResponse is the response payload for getting the version.

func (*VersionServiceGetResponse) Descriptor deprecated

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

Deprecated: Use VersionServiceGetResponse.ProtoReflect.Descriptor instead.

func (*VersionServiceGetResponse) GetVersion

func (x *VersionServiceGetResponse) GetVersion() *Version

func (*VersionServiceGetResponse) ProtoMessage

func (*VersionServiceGetResponse) ProtoMessage()

func (*VersionServiceGetResponse) ProtoReflect

func (*VersionServiceGetResponse) Reset

func (x *VersionServiceGetResponse) Reset()

func (*VersionServiceGetResponse) String

func (x *VersionServiceGetResponse) String() string

type Visibility

type Visibility int32

Visibility of a method

const (
	// VISIBILITY_UNSPECIFIED is not defined
	Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
	// VISIBILITY_PUBLIC specifies that this service is accessible without authentication
	Visibility_VISIBILITY_PUBLIC Visibility = 1
	// VISIBILITY_SELF enable call this endpoint from the authenticated user only
	Visibility_VISIBILITY_SELF Visibility = 2
)

func (Visibility) Descriptor

func (Visibility) Descriptor() protoreflect.EnumDescriptor

func (Visibility) Enum

func (x Visibility) Enum() *Visibility

func (Visibility) EnumDescriptor deprecated

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

Deprecated: Use Visibility.Descriptor instead.

func (Visibility) Number

func (x Visibility) Number() protoreflect.EnumNumber

func (Visibility) String

func (x Visibility) String() string

func (Visibility) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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