common

package
v0.0.0-...-7cac148 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0: "CHEF_MANAGED",
		1: "CUSTOM",
	}
	Type_value = map[string]int32{
		"CHEF_MANAGED": 0,
		"CUSTOM":       1,
	}
)

Enum value maps for Type.

View Source
var (
	Statement_Effect_name = map[int32]string{
		0: "ALLOW",
		1: "DENY",
	}
	Statement_Effect_value = map[string]int32{
		"ALLOW": 0,
		"DENY":  1,
	}
)

Enum value maps for Statement_Effect.

View Source
var (
	Version_VersionNumber_name = map[int32]string{
		0: "V0",
		1: "V1",
		2: "V2",
	}
	Version_VersionNumber_value = map[string]int32{
		"V0": 0,
		"V1": 1,
		"V2": 2,
	}
)

Enum value maps for Version_VersionNumber.

View Source
var (
	RuleType_name = map[int32]string{
		0: "RULE_TYPE_UNSET",
		1: "NODE",
		2: "EVENT",
	}
	RuleType_value = map[string]int32{
		"RULE_TYPE_UNSET": 0,
		"NODE":            1,
		"EVENT":           2,
	}
)

Enum value maps for RuleType.

View Source
var (
	ConditionAttribute_name = map[int32]string{
		0: "CONDITION_ATTRIBUTE_UNSET",
		1: "CHEF_SERVER",
		2: "CHEF_ORGANIZATION",
		3: "ENVIRONMENT",
		4: "CHEF_ROLE",
		5: "CHEF_TAG",
		6: "CHEF_POLICY_GROUP",
		7: "CHEF_POLICY_NAME",
	}
	ConditionAttribute_value = map[string]int32{
		"CONDITION_ATTRIBUTE_UNSET": 0,
		"CHEF_SERVER":               1,
		"CHEF_ORGANIZATION":         2,
		"ENVIRONMENT":               3,
		"CHEF_ROLE":                 4,
		"CHEF_TAG":                  5,
		"CHEF_POLICY_GROUP":         6,
		"CHEF_POLICY_NAME":          7,
	}
)

Enum value maps for ConditionAttribute.

View Source
var (
	ConditionOperator_name = map[int32]string{
		0: "CONDITION_OPERATOR_UNSET",
		1: "MEMBER_OF",
		2: "EQUALS",
	}
	ConditionOperator_value = map[string]int32{
		"CONDITION_OPERATOR_UNSET": 0,
		"MEMBER_OF":                1,
		"EQUALS":                   2,
	}
)

Enum value maps for ConditionOperator.

View Source
var (
	RuleStatus_name = map[int32]string{
		0: "RULE_STATUS_UNSET",
		1: "STAGED",
		2: "APPLIED",
	}
	RuleStatus_value = map[string]int32{
		"RULE_STATUS_UNSET": 0,
		"STAGED":            1,
		"APPLIED":           2,
	}
)

Enum value maps for RuleStatus.

View Source
var (
	ProjectRulesStatus_name = map[int32]string{
		0: "PROJECT_RULES_STATUS_UNSET",
		1: "RULES_APPLIED",
		2: "EDITS_PENDING",
		3: "NO_RULES",
	}
	ProjectRulesStatus_value = map[string]int32{
		"PROJECT_RULES_STATUS_UNSET": 0,
		"RULES_APPLIED":              1,
		"EDITS_PENDING":              2,
		"NO_RULES":                   3,
	}
)

Enum value maps for ProjectRulesStatus.

View Source
var File_external_iam_v2_common_policy_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_common_rules_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_common_teams_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_common_tokens_proto protoreflect.FileDescriptor
View Source
var File_external_iam_v2_common_users_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Condition

type Condition struct {

	// Represents a property of an ingested resource. Depends on the rule type.
	Attribute ConditionAttribute `protobuf:"varint,1,opt,name=attribute,proto3,enum=chef.automate.api.iam.v2.ConditionAttribute" json:"attribute,omitempty"`
	// The value(s) of the attribute that an ingested resource must match.
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// Whether the attribute matches a single value (`EQUALS`) or
	// matches at least one of a set of values (`MEMBER_OF`).
	Operator ConditionOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=chef.automate.api.iam.v2.ConditionOperator" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetAttribute

func (x *Condition) GetAttribute() ConditionAttribute

func (*Condition) GetOperator

func (x *Condition) GetOperator() ConditionOperator

func (*Condition) GetValues

func (x *Condition) GetValues() []string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type ConditionAttribute

type ConditionAttribute int32
const (
	ConditionAttribute_CONDITION_ATTRIBUTE_UNSET ConditionAttribute = 0
	ConditionAttribute_CHEF_SERVER               ConditionAttribute = 1
	ConditionAttribute_CHEF_ORGANIZATION         ConditionAttribute = 2
	ConditionAttribute_ENVIRONMENT               ConditionAttribute = 3
	ConditionAttribute_CHEF_ROLE                 ConditionAttribute = 4
	ConditionAttribute_CHEF_TAG                  ConditionAttribute = 5
	ConditionAttribute_CHEF_POLICY_GROUP         ConditionAttribute = 6
	ConditionAttribute_CHEF_POLICY_NAME          ConditionAttribute = 7
)

func (ConditionAttribute) Descriptor

func (ConditionAttribute) Enum

func (ConditionAttribute) EnumDescriptor deprecated

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

Deprecated: Use ConditionAttribute.Descriptor instead.

func (ConditionAttribute) Number

func (ConditionAttribute) String

func (x ConditionAttribute) String() string

func (ConditionAttribute) Type

type ConditionOperator

type ConditionOperator int32
const (
	ConditionOperator_CONDITION_OPERATOR_UNSET ConditionOperator = 0
	ConditionOperator_MEMBER_OF                ConditionOperator = 1
	ConditionOperator_EQUALS                   ConditionOperator = 2
)

func (ConditionOperator) Descriptor

func (ConditionOperator) Enum

func (ConditionOperator) EnumDescriptor deprecated

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

Deprecated: Use ConditionOperator.Descriptor instead.

func (ConditionOperator) Number

func (ConditionOperator) String

func (x ConditionOperator) String() string

func (ConditionOperator) Type

type Policy

type Policy struct {

	// Name for the policy.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// This doc-comment is ignored for an enum.
	Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.api.iam.v2.Type" json:"type,omitempty"`
	// Members affected by this policy. May be empty.
	Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members,omitempty"`
	// Statements for the policy. Will contain one or more.
	Statements []*Statement `protobuf:"bytes,5,rep,name=statements,proto3" json:"statements,omitempty"`
	// List of projects this policy belongs to. May be empty.
	Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) GetMembers

func (x *Policy) GetMembers() []string

func (*Policy) GetName

func (x *Policy) GetName() string

func (*Policy) GetProjects

func (x *Policy) GetProjects() []string

func (*Policy) GetStatements

func (x *Policy) GetStatements() []*Statement

func (*Policy) GetType

func (x *Policy) GetType() Type

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type Project

type Project struct {

	// Name for the project.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Whether this policy is user created (`CUSTOM`) or chef managed (`CHEF_MANAGED`).
	Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.api.iam.v2.Type" json:"type,omitempty"`
	// The current status of the rules for this project.
	Status ProjectRulesStatus `protobuf:"varint,4,opt,name=status,proto3,enum=chef.automate.api.iam.v2.ProjectRulesStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetId

func (x *Project) GetId() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetStatus

func (x *Project) GetStatus() ProjectRulesStatus

func (*Project) GetType

func (x *Project) GetType() Type

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 ProjectRulesStatus

type ProjectRulesStatus int32
const (
	ProjectRulesStatus_PROJECT_RULES_STATUS_UNSET ProjectRulesStatus = 0
	ProjectRulesStatus_RULES_APPLIED              ProjectRulesStatus = 1
	ProjectRulesStatus_EDITS_PENDING              ProjectRulesStatus = 2
	ProjectRulesStatus_NO_RULES                   ProjectRulesStatus = 3
)

func (ProjectRulesStatus) Descriptor

func (ProjectRulesStatus) Enum

func (ProjectRulesStatus) EnumDescriptor deprecated

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

Deprecated: Use ProjectRulesStatus.Descriptor instead.

func (ProjectRulesStatus) Number

func (ProjectRulesStatus) String

func (x ProjectRulesStatus) String() string

func (ProjectRulesStatus) Type

type Role

type Role struct {

	// Name for the role.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Whether this policy is user created (`CUSTOM`) or chef managed (`CHEF_MANAGED`).
	Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=chef.automate.api.iam.v2.Type" json:"type,omitempty"`
	// List of actions this role scopes to. Will contain one or more.
	Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"`
	// List of projects this role belongs to. May be empty.
	Projects []string `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Role) Descriptor deprecated

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

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetActions

func (x *Role) GetActions() []string

func (*Role) GetId

func (x *Role) GetId() string

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetProjects

func (x *Role) GetProjects() []string

func (*Role) GetType

func (x *Role) GetType() Type

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

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

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type Rule

type Rule struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Unique ID of the project this rule belongs to. Cannot be changed.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name for the project rule.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Whether the rule applies to ingested `NODE` or `EVENT resources.
	// Cannot be changed.
	Type RuleType `protobuf:"varint,4,opt,name=type,proto3,enum=chef.automate.api.iam.v2.RuleType" json:"type,omitempty"`
	// Conditions that ingested resources must match to belong to the project.
	// Will contain one or more.
	Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// Whether the rule is `STAGED` (not in effect) or `APPLIED` (in effect).
	Status RuleStatus `protobuf:"varint,6,opt,name=status,proto3,enum=chef.automate.api.iam.v2.RuleStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Rule) Descriptor deprecated

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

Deprecated: Use Rule.ProtoReflect.Descriptor instead.

func (*Rule) GetConditions

func (x *Rule) GetConditions() []*Condition

func (*Rule) GetId

func (x *Rule) GetId() string

func (*Rule) GetName

func (x *Rule) GetName() string

func (*Rule) GetProjectId

func (x *Rule) GetProjectId() string

func (*Rule) GetStatus

func (x *Rule) GetStatus() RuleStatus

func (*Rule) GetType

func (x *Rule) GetType() RuleType

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) ProtoReflect

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

func (*Rule) Reset

func (x *Rule) Reset()

func (*Rule) String

func (x *Rule) String() string

type RuleStatus

type RuleStatus int32
const (
	RuleStatus_RULE_STATUS_UNSET RuleStatus = 0
	RuleStatus_STAGED            RuleStatus = 1
	RuleStatus_APPLIED           RuleStatus = 2
)

func (RuleStatus) Descriptor

func (RuleStatus) Descriptor() protoreflect.EnumDescriptor

func (RuleStatus) Enum

func (x RuleStatus) Enum() *RuleStatus

func (RuleStatus) EnumDescriptor deprecated

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

Deprecated: Use RuleStatus.Descriptor instead.

func (RuleStatus) Number

func (x RuleStatus) Number() protoreflect.EnumNumber

func (RuleStatus) String

func (x RuleStatus) String() string

func (RuleStatus) Type

type RuleType

type RuleType int32
const (
	RuleType_RULE_TYPE_UNSET RuleType = 0
	RuleType_NODE            RuleType = 1
	RuleType_EVENT           RuleType = 2
)

func (RuleType) Descriptor

func (RuleType) Descriptor() protoreflect.EnumDescriptor

func (RuleType) Enum

func (x RuleType) Enum() *RuleType

func (RuleType) EnumDescriptor deprecated

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

Deprecated: Use RuleType.Descriptor instead.

func (RuleType) Number

func (x RuleType) Number() protoreflect.EnumNumber

func (RuleType) String

func (x RuleType) String() string

func (RuleType) Type

type Statement

type Statement struct {

	// This doc-comment is ignored for an enum.
	Effect Statement_Effect `protobuf:"varint,1,opt,name=effect,proto3,enum=chef.automate.api.iam.v2.Statement_Effect" json:"effect,omitempty"`
	// Actions defined inline. May be empty.
	// Best practices recommend that you use custom roles rather than inline actions where practical.
	Actions []string `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
	// The role defines a set of actions that the statement is scoped to.
	Role string `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"`
	// DEPRECATED: Resources defined inline. Use projects instead.
	Resources []string `protobuf:"bytes,5,rep,name=resources,proto3" json:"resources,omitempty"`
	// The project list defines the set of resources that the statement is scoped to. May be empty.
	Projects []string `protobuf:"bytes,6,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Statement) Descriptor deprecated

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

Deprecated: Use Statement.ProtoReflect.Descriptor instead.

func (*Statement) GetActions

func (x *Statement) GetActions() []string

func (*Statement) GetEffect

func (x *Statement) GetEffect() Statement_Effect

func (*Statement) GetProjects

func (x *Statement) GetProjects() []string

func (*Statement) GetResources

func (x *Statement) GetResources() []string

func (*Statement) GetRole

func (x *Statement) GetRole() string

func (*Statement) ProtoMessage

func (*Statement) ProtoMessage()

func (*Statement) ProtoReflect

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

func (*Statement) Reset

func (x *Statement) Reset()

func (*Statement) String

func (x *Statement) String() string

type Statement_Effect

type Statement_Effect int32
const (
	Statement_ALLOW Statement_Effect = 0
	Statement_DENY  Statement_Effect = 1
)

func (Statement_Effect) Descriptor

func (Statement_Effect) Enum

func (Statement_Effect) EnumDescriptor deprecated

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

Deprecated: Use Statement_Effect.Descriptor instead.

func (Statement_Effect) Number

func (Statement_Effect) String

func (x Statement_Effect) String() string

func (Statement_Effect) Type

type Team

type Team struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name     string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Projects []string `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Team) Descriptor deprecated

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

Deprecated: Use Team.ProtoReflect.Descriptor instead.

func (*Team) GetId

func (x *Team) GetId() string

func (*Team) GetName

func (x *Team) GetName() string

func (*Team) GetProjects

func (x *Team) GetProjects() []string

func (*Team) ProtoMessage

func (*Team) ProtoMessage()

func (*Team) ProtoReflect

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

func (*Team) Reset

func (x *Team) Reset()

func (*Team) String

func (x *Team) String() string

type Token

type Token struct {

	// Unique ID. Cannot be changed.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name for the token.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Unique, optionally user-specified value.
	Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// Active state. Defaults to true.
	// If set to false, token will not authenticate.
	Active bool `protobuf:"varint,4,opt,name=active,proto3" json:"active,omitempty"`
	// Created timestamp.
	CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Updated timestamp.
	UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// List of projects this token belongs to. May be empty.
	Projects []string `protobuf:"bytes,7,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetActive

func (x *Token) GetActive() bool

func (*Token) GetCreatedAt

func (x *Token) GetCreatedAt() string

func (*Token) GetId

func (x *Token) GetId() string

func (*Token) GetName

func (x *Token) GetName() string

func (*Token) GetProjects

func (x *Token) GetProjects() []string

func (*Token) GetUpdatedAt

func (x *Token) GetUpdatedAt() string

func (*Token) GetValue

func (x *Token) GetValue() 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 Type

type Type int32
const (
	Type_CHEF_MANAGED Type = 0
	Type_CUSTOM       Type = 1
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

type User

type User struct {

	// Display name for local user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unique ID. Cannot be changed. Used to log in.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Unique ID used to add local users to local teams. Cannot be changed.
	MembershipId string `protobuf:"bytes,3,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetId

func (x *User) GetId() string

func (*User) GetMembershipId

func (x *User) GetMembershipId() string

func (*User) GetName

func (x *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type Version

type Version struct {
	Major Version_VersionNumber `protobuf:"varint,1,opt,name=major,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"major,omitempty"`
	Minor Version_VersionNumber `protobuf:"varint,2,opt,name=minor,proto3,enum=chef.automate.api.iam.v2.Version_VersionNumber" json:"minor,omitempty"`
	// contains filtered or unexported fields
}

the only values that may be returned by GetPolicyVersion

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetMajor

func (x *Version) GetMajor() Version_VersionNumber

func (*Version) GetMinor

func (x *Version) GetMinor() Version_VersionNumber

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 Version_VersionNumber

type Version_VersionNumber int32
const (
	Version_V0 Version_VersionNumber = 0
	Version_V1 Version_VersionNumber = 1
	Version_V2 Version_VersionNumber = 2
)

func (Version_VersionNumber) Descriptor

func (Version_VersionNumber) Enum

func (Version_VersionNumber) EnumDescriptor deprecated

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

Deprecated: Use Version_VersionNumber.Descriptor instead.

func (Version_VersionNumber) Number

func (Version_VersionNumber) String

func (x Version_VersionNumber) String() string

func (Version_VersionNumber) Type

Jump to

Keyboard shortcuts

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