Documentation ¶
Overview ¶
Package ims is a generated protocol buffer package.
It is generated from these files:
ims.proto
It has these top-level messages:
Void StatusReply StopReply AssumeRoleRequest Profile ConfigReply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInstanceMetaServiceServer ¶
func RegisterInstanceMetaServiceServer(s *grpc.Server, srv InstanceMetaServiceServer)
Types ¶
type AssumeRoleRequest ¶
type AssumeRoleRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,json=name" json:"Name,omitempty"` Mfa string `protobuf:"bytes,2,opt,name=Mfa,json=mfa" json:"Mfa,omitempty"` }
func (*AssumeRoleRequest) Descriptor ¶
func (*AssumeRoleRequest) Descriptor() ([]byte, []int)
func (*AssumeRoleRequest) ProtoMessage ¶
func (*AssumeRoleRequest) ProtoMessage()
func (*AssumeRoleRequest) Reset ¶
func (m *AssumeRoleRequest) Reset()
func (*AssumeRoleRequest) String ¶
func (m *AssumeRoleRequest) String() string
type ConfigReply ¶ added in v1.0.0
type ConfigReply struct {
Profiles map[string]*Profile `` /* 136-byte string literal not displayed */
}
func (*ConfigReply) Descriptor ¶ added in v1.0.0
func (*ConfigReply) Descriptor() ([]byte, []int)
func (*ConfigReply) GetProfiles ¶ added in v1.0.0
func (m *ConfigReply) GetProfiles() map[string]*Profile
func (*ConfigReply) ProtoMessage ¶ added in v1.0.0
func (*ConfigReply) ProtoMessage()
func (*ConfigReply) Reset ¶ added in v1.0.0
func (m *ConfigReply) Reset()
func (*ConfigReply) String ¶ added in v1.0.0
func (m *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) }
func NewInstanceMetaServiceClient ¶
func NewInstanceMetaServiceClient(cc *grpc.ClientConn) InstanceMetaServiceClient
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) }
type Profile ¶ added in v1.0.0
type Profile struct { AwsAccessKeyID string `protobuf:"bytes,1,opt,name=AwsAccessKeyID,json=awsAccessKeyID" json:"AwsAccessKeyID,omitempty"` AwsSecretAccessKey string `protobuf:"bytes,2,opt,name=AwsSecretAccessKey,json=awsSecretAccessKey" json:"AwsSecretAccessKey,omitempty"` AwsSessionToken string `protobuf:"bytes,3,opt,name=AwsSessionToken,json=awsSessionToken" json:"AwsSessionToken,omitempty"` Region string `protobuf:"bytes,4,opt,name=Region,json=region" json:"Region,omitempty"` MFASerial string `protobuf:"bytes,5,opt,name=MFASerial,json=mFASerial" json:"MFASerial,omitempty"` RoleARN string `protobuf:"bytes,6,opt,name=RoleARN,json=roleARN" json:"RoleARN,omitempty"` SourceProfile string `protobuf:"bytes,7,opt,name=SourceProfile,json=sourceProfile" json:"SourceProfile,omitempty"` RoleSessionName string `protobuf:"bytes,8,opt,name=RoleSessionName,json=roleSessionName" json:"RoleSessionName,omitempty"` }
func (*Profile) Descriptor ¶ added in v1.0.0
func (*Profile) ProtoMessage ¶ added in v1.0.0
func (*Profile) ProtoMessage()
type StatusReply ¶
type StatusReply struct { Error string `protobuf:"bytes,1,opt,name=Error,json=error" json:"Error,omitempty"` Role string `protobuf:"bytes,2,opt,name=Role,json=role" json:"Role,omitempty"` AccessKeyId string `protobuf:"bytes,3,opt,name=AccessKeyId,json=accessKeyId" json:"AccessKeyId,omitempty"` SecretAccessKey string `protobuf:"bytes,4,opt,name=SecretAccessKey,json=secretAccessKey" json:"SecretAccessKey,omitempty"` SessionToken string `protobuf:"bytes,5,opt,name=SessionToken,json=sessionToken" json:"SessionToken,omitempty"` Expiration string `protobuf:"bytes,6,opt,name=Expiration,json=expiration" json:"Expiration,omitempty"` Region string `protobuf:"bytes,7,opt,name=Region,json=region" json:"Region,omitempty"` }
func (*StatusReply) Descriptor ¶
func (*StatusReply) Descriptor() ([]byte, []int)
func (*StatusReply) ProtoMessage ¶
func (*StatusReply) ProtoMessage()
func (*StatusReply) Reset ¶
func (m *StatusReply) Reset()
func (*StatusReply) String ¶
func (m *StatusReply) String() string
type StopReply ¶
type StopReply struct {
Error string `protobuf:"bytes,1,opt,name=Error,json=error" json:"Error,omitempty"`
}
func (*StopReply) Descriptor ¶
func (*StopReply) ProtoMessage ¶
func (*StopReply) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.