Documentation ¶
Index ¶
- Variables
- func IsErrPortNotFound(err error) bool
- type A2ServiceConfig
- type Port
- func (*Port) Descriptor() ([]byte, []int)
- func (m *Port) GetDefault() int32
- func (m *Port) GetName() string
- func (m *Port) GetProtocol() string
- func (*Port) ProtoMessage()
- func (m *Port) Reset()
- func (m *Port) String() string
- func (m *Port) XXX_DiscardUnknown()
- func (m *Port) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Port) XXX_Merge(src proto.Message)
- func (m *Port) XXX_Size() int
- func (m *Port) XXX_Unmarshal(b []byte) error
- type PortBind
- type PortInfo
- type ServiceConfig
- func (*ServiceConfig) Descriptor() ([]byte, []int)
- func (m *ServiceConfig) GetName() string
- func (*ServiceConfig) ProtoMessage()
- func (m *ServiceConfig) Reset()
- func (m *ServiceConfig) String() string
- func (m *ServiceConfig) XXX_DiscardUnknown()
- func (m *ServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServiceConfig) XXX_Merge(src proto.Message)
- func (m *ServiceConfig) XXX_Size() int
- func (m *ServiceConfig) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Port = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*Port)(nil), Field: 51000, Name: "chef.automate.api.port", Tag: "bytes,51000,opt,name=port", Filename: "components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto", }
View Source
var E_ServiceConfig = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*ServiceConfig)(nil), Field: 51000, Name: "chef.automate.api.service_config", Tag: "bytes,51000,opt,name=service_config,json=serviceConfig", Filename: "components/automate-grpc/protoc-gen-a2-config/api/a2conf/annotations.proto", }
View Source
var ErrPortNotFound = errors.New("port not found")
Functions ¶
func IsErrPortNotFound ¶
Types ¶
type A2ServiceConfig ¶
type Port ¶
type Port struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Default int32 `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"` Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Port) Descriptor ¶
func (*Port) GetDefault ¶
func (*Port) GetProtocol ¶
func (*Port) ProtoMessage ¶
func (*Port) ProtoMessage()
func (*Port) XXX_DiscardUnknown ¶
func (m *Port) XXX_DiscardUnknown()
func (*Port) XXX_Unmarshal ¶
type ServiceConfig ¶
type ServiceConfig struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ServiceConfig) Descriptor ¶
func (*ServiceConfig) Descriptor() ([]byte, []int)
func (*ServiceConfig) GetName ¶
func (m *ServiceConfig) GetName() string
func (*ServiceConfig) ProtoMessage ¶
func (*ServiceConfig) ProtoMessage()
func (*ServiceConfig) Reset ¶
func (m *ServiceConfig) Reset()
func (*ServiceConfig) String ¶
func (m *ServiceConfig) String() string
func (*ServiceConfig) XXX_DiscardUnknown ¶
func (m *ServiceConfig) XXX_DiscardUnknown()
func (*ServiceConfig) XXX_Marshal ¶
func (m *ServiceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceConfig) XXX_Merge ¶
func (dst *ServiceConfig) XXX_Merge(src proto.Message)
func (*ServiceConfig) XXX_Size ¶
func (m *ServiceConfig) XXX_Size() int
func (*ServiceConfig) XXX_Unmarshal ¶
func (m *ServiceConfig) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.