ims

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RegisterInstanceMetaServiceServer

func RegisterInstanceMetaServiceServer(s *grpc.Server, srv InstanceMetaServiceServer)

Types

type AssumeRoleRequest

type AssumeRoleRequest struct {
	Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	Mfa  string `protobuf:"bytes,2,opt,name=Mfa,proto3" json:"Mfa,omitempty"`
	// contains filtered or unexported fields
}

func (*AssumeRoleRequest) Descriptor deprecated

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

Deprecated: Use AssumeRoleRequest.ProtoReflect.Descriptor instead.

func (*AssumeRoleRequest) GetMfa added in v1.0.3

func (x *AssumeRoleRequest) GetMfa() string

func (*AssumeRoleRequest) GetName added in v1.0.3

func (x *AssumeRoleRequest) GetName() string

func (*AssumeRoleRequest) ProtoMessage

func (*AssumeRoleRequest) ProtoMessage()

func (*AssumeRoleRequest) ProtoReflect added in v1.0.3

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

func (*AssumeRoleRequest) Reset

func (x *AssumeRoleRequest) Reset()

func (*AssumeRoleRequest) String

func (x *AssumeRoleRequest) String() string

type ConfigReply added in v1.0.0

type ConfigReply struct {
	Profiles map[string]*Profile `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ConfigReply) Descriptor deprecated added in v1.0.0

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

Deprecated: Use ConfigReply.ProtoReflect.Descriptor instead.

func (*ConfigReply) GetProfiles added in v1.0.0

func (x *ConfigReply) GetProfiles() map[string]*Profile

func (*ConfigReply) ProtoMessage added in v1.0.0

func (*ConfigReply) ProtoMessage()

func (*ConfigReply) ProtoReflect added in v1.0.3

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

func (*ConfigReply) Reset added in v1.0.0

func (x *ConfigReply) Reset()

func (*ConfigReply) String added in v1.0.0

func (x *ConfigReply) String() string

type InstanceMetaServiceClient

type InstanceMetaServiceClient interface {
	Status(ctx context.Context, in *Void, opts ...grpc.CallOption) (*StatusReply, error)
	Stop(ctx context.Context, in *Void, opts ...grpc.CallOption) (*StopReply, error)
	AssumeRole(ctx context.Context, in *AssumeRoleRequest, opts ...grpc.CallOption) (*StatusReply, error)
	RetrieveRole(ctx context.Context, in *AssumeRoleRequest, opts ...grpc.CallOption) (*StatusReply, error)
	Config(ctx context.Context, in *Void, opts ...grpc.CallOption) (*ConfigReply, error)
}

InstanceMetaServiceClient is the client API for InstanceMetaService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type InstanceMetaServiceServer

type InstanceMetaServiceServer interface {
	Status(context.Context, *Void) (*StatusReply, error)
	Stop(context.Context, *Void) (*StopReply, error)
	AssumeRole(context.Context, *AssumeRoleRequest) (*StatusReply, error)
	RetrieveRole(context.Context, *AssumeRoleRequest) (*StatusReply, error)
	Config(context.Context, *Void) (*ConfigReply, error)
}

InstanceMetaServiceServer is the server API for InstanceMetaService service.

type Profile added in v1.0.0

type Profile struct {
	AwsAccessKeyID     string `protobuf:"bytes,1,opt,name=AwsAccessKeyID,proto3" json:"AwsAccessKeyID,omitempty"`
	AwsSecretAccessKey string `protobuf:"bytes,2,opt,name=AwsSecretAccessKey,proto3" json:"AwsSecretAccessKey,omitempty"`
	AwsSessionToken    string `protobuf:"bytes,3,opt,name=AwsSessionToken,proto3" json:"AwsSessionToken,omitempty"`
	Region             string `protobuf:"bytes,4,opt,name=Region,proto3" json:"Region,omitempty"`
	MFASerial          string `protobuf:"bytes,5,opt,name=MFASerial,proto3" json:"MFASerial,omitempty"`
	RoleARN            string `protobuf:"bytes,6,opt,name=RoleARN,proto3" json:"RoleARN,omitempty"`
	SourceProfile      string `protobuf:"bytes,7,opt,name=SourceProfile,proto3" json:"SourceProfile,omitempty"`
	RoleSessionName    string `protobuf:"bytes,8,opt,name=RoleSessionName,proto3" json:"RoleSessionName,omitempty"`
	// contains filtered or unexported fields
}

func (*Profile) Descriptor deprecated added in v1.0.0

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

Deprecated: Use Profile.ProtoReflect.Descriptor instead.

func (*Profile) GetAwsAccessKeyID added in v1.0.3

func (x *Profile) GetAwsAccessKeyID() string

func (*Profile) GetAwsSecretAccessKey added in v1.0.3

func (x *Profile) GetAwsSecretAccessKey() string

func (*Profile) GetAwsSessionToken added in v1.0.3

func (x *Profile) GetAwsSessionToken() string

func (*Profile) GetMFASerial added in v1.0.3

func (x *Profile) GetMFASerial() string

func (*Profile) GetRegion added in v1.0.3

func (x *Profile) GetRegion() string

func (*Profile) GetRoleARN added in v1.0.3

func (x *Profile) GetRoleARN() string

func (*Profile) GetRoleSessionName added in v1.0.3

func (x *Profile) GetRoleSessionName() string

func (*Profile) GetSourceProfile added in v1.0.3

func (x *Profile) GetSourceProfile() string

func (*Profile) ProtoMessage added in v1.0.0

func (*Profile) ProtoMessage()

func (*Profile) ProtoReflect added in v1.0.3

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

func (*Profile) Reset added in v1.0.0

func (x *Profile) Reset()

func (*Profile) String added in v1.0.0

func (x *Profile) String() string

type StatusReply

type StatusReply struct {
	Error           string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"`
	Role            string `protobuf:"bytes,2,opt,name=Role,proto3" json:"Role,omitempty"`
	AccessKeyId     string `protobuf:"bytes,3,opt,name=AccessKeyId,proto3" json:"AccessKeyId,omitempty"`
	SecretAccessKey string `protobuf:"bytes,4,opt,name=SecretAccessKey,proto3" json:"SecretAccessKey,omitempty"`
	SessionToken    string `protobuf:"bytes,5,opt,name=SessionToken,proto3" json:"SessionToken,omitempty"`
	Expiration      string `protobuf:"bytes,6,opt,name=Expiration,proto3" json:"Expiration,omitempty"`
	Region          string `protobuf:"bytes,7,opt,name=Region,proto3" json:"Region,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusReply) Descriptor deprecated

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

Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.

func (*StatusReply) GetAccessKeyId added in v1.0.3

func (x *StatusReply) GetAccessKeyId() string

func (*StatusReply) GetError added in v1.0.3

func (x *StatusReply) GetError() string

func (*StatusReply) GetExpiration added in v1.0.3

func (x *StatusReply) GetExpiration() string

func (*StatusReply) GetRegion added in v1.0.3

func (x *StatusReply) GetRegion() string

func (*StatusReply) GetRole added in v1.0.3

func (x *StatusReply) GetRole() string

func (*StatusReply) GetSecretAccessKey added in v1.0.3

func (x *StatusReply) GetSecretAccessKey() string

func (*StatusReply) GetSessionToken added in v1.0.3

func (x *StatusReply) GetSessionToken() string

func (*StatusReply) ProtoMessage

func (*StatusReply) ProtoMessage()

func (*StatusReply) ProtoReflect added in v1.0.3

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

func (*StatusReply) Reset

func (x *StatusReply) Reset()

func (*StatusReply) String

func (x *StatusReply) String() string

type StopReply

type StopReply struct {
	Error string `protobuf:"bytes,1,opt,name=Error,proto3" json:"Error,omitempty"`
	// contains filtered or unexported fields
}

func (*StopReply) Descriptor deprecated

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

Deprecated: Use StopReply.ProtoReflect.Descriptor instead.

func (*StopReply) GetError added in v1.0.3

func (x *StopReply) GetError() string

func (*StopReply) ProtoMessage

func (*StopReply) ProtoMessage()

func (*StopReply) ProtoReflect added in v1.0.3

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

func (*StopReply) Reset

func (x *StopReply) Reset()

func (*StopReply) String

func (x *StopReply) String() string

type UnimplementedInstanceMetaServiceServer added in v1.0.3

type UnimplementedInstanceMetaServiceServer struct {
}

UnimplementedInstanceMetaServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedInstanceMetaServiceServer) AssumeRole added in v1.0.3

func (*UnimplementedInstanceMetaServiceServer) Config added in v1.0.3

func (*UnimplementedInstanceMetaServiceServer) RetrieveRole added in v1.0.3

func (*UnimplementedInstanceMetaServiceServer) Status added in v1.0.3

func (*UnimplementedInstanceMetaServiceServer) Stop added in v1.0.3

type Void

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

func (*Void) Descriptor deprecated

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

Deprecated: Use Void.ProtoReflect.Descriptor instead.

func (*Void) ProtoMessage

func (*Void) ProtoMessage()

func (*Void) ProtoReflect added in v1.0.3

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

func (*Void) Reset

func (x *Void) Reset()

func (*Void) String

func (x *Void) String() string

Jump to

Keyboard shortcuts

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