common

package
v0.0.0-...-e165f0f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OperatingSystemType_name = map[int32]string{
	0: "OPERATING_SYSTEM_TYPE_UNSPECIFIED",
	1: "LINUX",
	2: "WINDOWS",
}
View Source
var OperatingSystemType_value = map[string]int32{
	"OPERATING_SYSTEM_TYPE_UNSPECIFIED": 0,
	"LINUX":                             1,
	"WINDOWS":                           2,
}

Functions

This section is empty.

Types

type OperatingSystemType

type OperatingSystemType int32

The operating system options for account entries.

const (
	// The operating system type associated with the user account information is
	// unspecified.
	OperatingSystemType_OPERATING_SYSTEM_TYPE_UNSPECIFIED OperatingSystemType = 0
	// Linux user account information.
	OperatingSystemType_LINUX OperatingSystemType = 1
	// Windows user account information.
	OperatingSystemType_WINDOWS OperatingSystemType = 2
)

func (OperatingSystemType) EnumDescriptor

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

func (OperatingSystemType) String

func (x OperatingSystemType) String() string

type PosixAccount

type PosixAccount struct {
	// Only one POSIX account can be marked as primary.
	Primary bool `protobuf:"varint,1,opt,name=primary,proto3" json:"primary,omitempty"`
	// The username of the POSIX account.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The user ID.
	Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
	// The default group ID.
	Gid int64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"`
	// The path to the home directory for this account.
	HomeDirectory string `protobuf:"bytes,5,opt,name=home_directory,json=homeDirectory,proto3" json:"home_directory,omitempty"`
	// The path to the logic shell for this account.
	Shell string `protobuf:"bytes,6,opt,name=shell,proto3" json:"shell,omitempty"`
	// The GECOS (user information) entry for this account.
	Gecos string `protobuf:"bytes,7,opt,name=gecos,proto3" json:"gecos,omitempty"`
	// System identifier for which account the username or uid applies to.
	// By default, the empty value is used.
	SystemId string `protobuf:"bytes,8,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	// Output only. A POSIX account identifier.
	AccountId string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// The operating system type where this account applies.
	OperatingSystemType OperatingSystemType `` /* 175-byte string literal not displayed */
	// Output only. The canonical resource name.
	Name                 string   `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The POSIX account information associated with a Google account.

func (*PosixAccount) Descriptor

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

func (*PosixAccount) GetAccountId

func (m *PosixAccount) GetAccountId() string

func (*PosixAccount) GetGecos

func (m *PosixAccount) GetGecos() string

func (*PosixAccount) GetGid

func (m *PosixAccount) GetGid() int64

func (*PosixAccount) GetHomeDirectory

func (m *PosixAccount) GetHomeDirectory() string

func (*PosixAccount) GetName

func (m *PosixAccount) GetName() string

func (*PosixAccount) GetOperatingSystemType

func (m *PosixAccount) GetOperatingSystemType() OperatingSystemType

func (*PosixAccount) GetPrimary

func (m *PosixAccount) GetPrimary() bool

func (*PosixAccount) GetShell

func (m *PosixAccount) GetShell() string

func (*PosixAccount) GetSystemId

func (m *PosixAccount) GetSystemId() string

func (*PosixAccount) GetUid

func (m *PosixAccount) GetUid() int64

func (*PosixAccount) GetUsername

func (m *PosixAccount) GetUsername() string

func (*PosixAccount) ProtoMessage

func (*PosixAccount) ProtoMessage()

func (*PosixAccount) Reset

func (m *PosixAccount) Reset()

func (*PosixAccount) String

func (m *PosixAccount) String() string

func (*PosixAccount) XXX_DiscardUnknown

func (m *PosixAccount) XXX_DiscardUnknown()

func (*PosixAccount) XXX_Marshal

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

func (*PosixAccount) XXX_Merge

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

func (*PosixAccount) XXX_Size

func (m *PosixAccount) XXX_Size() int

func (*PosixAccount) XXX_Unmarshal

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

type SshPublicKey

type SshPublicKey struct {
	// Public key text in SSH format, defined by
	// <a href="https://www.ietf.org/rfc/rfc4253.txt" target="_blank">RFC4253</a>
	// section 6.6.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec int64 `protobuf:"varint,2,opt,name=expiration_time_usec,json=expirationTimeUsec,proto3" json:"expiration_time_usec,omitempty"`
	// Output only. The SHA-256 fingerprint of the SSH public key.
	Fingerprint string `protobuf:"bytes,3,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// Output only. The canonical resource name.
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The SSH public key information associated with a Google account.

func (*SshPublicKey) Descriptor

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

func (*SshPublicKey) GetExpirationTimeUsec

func (m *SshPublicKey) GetExpirationTimeUsec() int64

func (*SshPublicKey) GetFingerprint

func (m *SshPublicKey) GetFingerprint() string

func (*SshPublicKey) GetKey

func (m *SshPublicKey) GetKey() string

func (*SshPublicKey) GetName

func (m *SshPublicKey) GetName() string

func (*SshPublicKey) ProtoMessage

func (*SshPublicKey) ProtoMessage()

func (*SshPublicKey) Reset

func (m *SshPublicKey) Reset()

func (*SshPublicKey) String

func (m *SshPublicKey) String() string

func (*SshPublicKey) XXX_DiscardUnknown

func (m *SshPublicKey) XXX_DiscardUnknown()

func (*SshPublicKey) XXX_Marshal

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

func (*SshPublicKey) XXX_Merge

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

func (*SshPublicKey) XXX_Size

func (m *SshPublicKey) XXX_Size() int

func (*SshPublicKey) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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