schemas

package
v4.2.789+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 5 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Scope_name = map[int32]string{
	0: "SCOPE_UNDEFINED",
	1: "SCOPE_APPLICATION",
	2: "SCOPE_METRIC",
	3: "SCOPE_PLANNING",
	4: "SCOPE_PREDICTION",
	5: "SCOPE_RECOMMENDATION",
	6: "SCOPE_RESOURCE",
}
View Source
var Scope_value = map[string]int32{
	"SCOPE_UNDEFINED":      0,
	"SCOPE_APPLICATION":    1,
	"SCOPE_METRIC":         2,
	"SCOPE_PLANNING":       3,
	"SCOPE_PREDICTION":     4,
	"SCOPE_RECOMMENDATION": 5,
	"SCOPE_RESOURCE":       6,
}

Functions

This section is empty.

Types

type Column

type Column struct {
	Name                 string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Required             bool              `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	ColumnType           common.ColumnType `` /* 153-byte string literal not displayed */
	DataType             common.DataType   `` /* 145-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Column) Descriptor

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

func (*Column) GetColumnType

func (m *Column) GetColumnType() common.ColumnType

func (*Column) GetDataType

func (m *Column) GetDataType() common.DataType

func (*Column) GetName

func (m *Column) GetName() string

func (*Column) GetRequired

func (m *Column) GetRequired() bool

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) Reset

func (m *Column) Reset()

func (*Column) String

func (m *Column) String() string

func (*Column) XXX_DiscardUnknown

func (m *Column) XXX_DiscardUnknown()

func (*Column) XXX_Marshal

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

func (*Column) XXX_Merge

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

func (*Column) XXX_Size

func (m *Column) XXX_Size() int

func (*Column) XXX_Unmarshal

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

type CreateSchemasRequest

type CreateSchemasRequest struct {
	Schemas              []*Schema `protobuf:"bytes,1,rep,name=schemas,proto3" json:"schemas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*CreateSchemasRequest) Descriptor

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

func (*CreateSchemasRequest) GetSchemas

func (m *CreateSchemasRequest) GetSchemas() []*Schema

func (*CreateSchemasRequest) ProtoMessage

func (*CreateSchemasRequest) ProtoMessage()

func (*CreateSchemasRequest) Reset

func (m *CreateSchemasRequest) Reset()

func (*CreateSchemasRequest) String

func (m *CreateSchemasRequest) String() string

func (*CreateSchemasRequest) XXX_DiscardUnknown

func (m *CreateSchemasRequest) XXX_DiscardUnknown()

func (*CreateSchemasRequest) XXX_Marshal

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

func (*CreateSchemasRequest) XXX_Merge

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

func (*CreateSchemasRequest) XXX_Size

func (m *CreateSchemasRequest) XXX_Size() int

func (*CreateSchemasRequest) XXX_Unmarshal

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

type DeleteSchemasRequest

type DeleteSchemasRequest struct {
	SchemaMeta           *SchemaMeta `protobuf:"bytes,1,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*DeleteSchemasRequest) Descriptor

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

func (*DeleteSchemasRequest) GetSchemaMeta

func (m *DeleteSchemasRequest) GetSchemaMeta() *SchemaMeta

func (*DeleteSchemasRequest) ProtoMessage

func (*DeleteSchemasRequest) ProtoMessage()

func (*DeleteSchemasRequest) Reset

func (m *DeleteSchemasRequest) Reset()

func (*DeleteSchemasRequest) String

func (m *DeleteSchemasRequest) String() string

func (*DeleteSchemasRequest) XXX_DiscardUnknown

func (m *DeleteSchemasRequest) XXX_DiscardUnknown()

func (*DeleteSchemasRequest) XXX_Marshal

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

func (*DeleteSchemasRequest) XXX_Merge

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

func (*DeleteSchemasRequest) XXX_Size

func (m *DeleteSchemasRequest) XXX_Size() int

func (*DeleteSchemasRequest) XXX_Unmarshal

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

type ListSchemasRequest

type ListSchemasRequest struct {
	SchemaMeta           *SchemaMeta `protobuf:"bytes,1,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ListSchemasRequest) Descriptor

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

func (*ListSchemasRequest) GetSchemaMeta

func (m *ListSchemasRequest) GetSchemaMeta() *SchemaMeta

func (*ListSchemasRequest) ProtoMessage

func (*ListSchemasRequest) ProtoMessage()

func (*ListSchemasRequest) Reset

func (m *ListSchemasRequest) Reset()

func (*ListSchemasRequest) String

func (m *ListSchemasRequest) String() string

func (*ListSchemasRequest) XXX_DiscardUnknown

func (m *ListSchemasRequest) XXX_DiscardUnknown()

func (*ListSchemasRequest) XXX_Marshal

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

func (*ListSchemasRequest) XXX_Merge

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

func (*ListSchemasRequest) XXX_Size

func (m *ListSchemasRequest) XXX_Size() int

func (*ListSchemasRequest) XXX_Unmarshal

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

type ListSchemasResponse

type ListSchemasResponse struct {
	Status               *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Schemas              []*Schema      `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListSchemasResponse) Descriptor

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

func (*ListSchemasResponse) GetSchemas

func (m *ListSchemasResponse) GetSchemas() []*Schema

func (*ListSchemasResponse) GetStatus

func (m *ListSchemasResponse) GetStatus() *status.Status

func (*ListSchemasResponse) ProtoMessage

func (*ListSchemasResponse) ProtoMessage()

func (*ListSchemasResponse) Reset

func (m *ListSchemasResponse) Reset()

func (*ListSchemasResponse) String

func (m *ListSchemasResponse) String() string

func (*ListSchemasResponse) XXX_DiscardUnknown

func (m *ListSchemasResponse) XXX_DiscardUnknown()

func (*ListSchemasResponse) XXX_Marshal

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

func (*ListSchemasResponse) XXX_Merge

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

func (*ListSchemasResponse) XXX_Size

func (m *ListSchemasResponse) XXX_Size() int

func (*ListSchemasResponse) XXX_Unmarshal

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

type Measurement

type Measurement struct {
	Name                 string                  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	MetricType           common.MetricType       `` /* 153-byte string literal not displayed */
	ResourceBoundary     common.ResourceBoundary `` /* 177-byte string literal not displayed */
	ResourceQuota        common.ResourceQuota    `` /* 165-byte string literal not displayed */
	Columns              []*Column               `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Measurement) Descriptor

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

func (*Measurement) GetColumns

func (m *Measurement) GetColumns() []*Column

func (*Measurement) GetMetricType

func (m *Measurement) GetMetricType() common.MetricType

func (*Measurement) GetName

func (m *Measurement) GetName() string

func (*Measurement) GetResourceBoundary

func (m *Measurement) GetResourceBoundary() common.ResourceBoundary

func (*Measurement) GetResourceQuota

func (m *Measurement) GetResourceQuota() common.ResourceQuota

func (*Measurement) ProtoMessage

func (*Measurement) ProtoMessage()

func (*Measurement) Reset

func (m *Measurement) Reset()

func (*Measurement) String

func (m *Measurement) String() string

func (*Measurement) XXX_DiscardUnknown

func (m *Measurement) XXX_DiscardUnknown()

func (*Measurement) XXX_Marshal

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

func (*Measurement) XXX_Merge

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

func (*Measurement) XXX_Size

func (m *Measurement) XXX_Size() int

func (*Measurement) XXX_Unmarshal

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

type Schema

type Schema struct {
	SchemaMeta           *SchemaMeta    `protobuf:"bytes,1,opt,name=schema_meta,json=schemaMeta,proto3" json:"schema_meta,omitempty"`
	Measurements         []*Measurement `protobuf:"bytes,2,rep,name=measurements,proto3" json:"measurements,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Schema) Descriptor

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

func (*Schema) GetMeasurements

func (m *Schema) GetMeasurements() []*Measurement

func (*Schema) GetSchemaMeta

func (m *Schema) GetSchemaMeta() *SchemaMeta

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) String

func (m *Schema) String() string

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

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

func (*Schema) XXX_Merge

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

func (*Schema) XXX_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

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

type SchemaMeta

type SchemaMeta struct {
	Scope                Scope    `protobuf:"varint,1,opt,name=scope,proto3,enum=containersai.alameda.v1alpha1.datahub.schemas.Scope" json:"scope,omitempty"`
	Category             string   `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SchemaMeta) Descriptor

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

func (*SchemaMeta) GetCategory

func (m *SchemaMeta) GetCategory() string

func (*SchemaMeta) GetScope

func (m *SchemaMeta) GetScope() Scope

func (*SchemaMeta) GetType

func (m *SchemaMeta) GetType() string

func (*SchemaMeta) ProtoMessage

func (*SchemaMeta) ProtoMessage()

func (*SchemaMeta) Reset

func (m *SchemaMeta) Reset()

func (*SchemaMeta) String

func (m *SchemaMeta) String() string

func (*SchemaMeta) XXX_DiscardUnknown

func (m *SchemaMeta) XXX_DiscardUnknown()

func (*SchemaMeta) XXX_Marshal

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

func (*SchemaMeta) XXX_Merge

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

func (*SchemaMeta) XXX_Size

func (m *SchemaMeta) XXX_Size() int

func (*SchemaMeta) XXX_Unmarshal

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

type Scope

type Scope int32
const (
	Scope_SCOPE_UNDEFINED      Scope = 0
	Scope_SCOPE_APPLICATION    Scope = 1
	Scope_SCOPE_METRIC         Scope = 2
	Scope_SCOPE_PLANNING       Scope = 3
	Scope_SCOPE_PREDICTION     Scope = 4
	Scope_SCOPE_RECOMMENDATION Scope = 5
	Scope_SCOPE_RESOURCE       Scope = 6
)

func (Scope) EnumDescriptor

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

func (Scope) String

func (x Scope) String() string

Jump to

Keyboard shortcuts

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