Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SubnetAccess ¶ added in v0.11.0
SubnetAccess returns public or private, depending on a subnet's access type
Types ¶
type Client ¶
type Client interface { GetSubnetById(context.Context, string) (*core.Subnet, error) GetImageIdByName(ctx context.Context, displayName, compartmentId string) (string, error) }
Client interface for OCI Clients
type ClientImpl ¶
type ClientImpl struct {
// contains filtered or unexported fields
}
ClientImpl OCI Client implementation
func (*ClientImpl) GetImageIdByName ¶
func (c *ClientImpl) GetImageIdByName(ctx context.Context, displayName, compartmentId string) (string, error)
GetImageIdByName retrieves an image OCID given an image name and a compartment id, if that image exists.
func (*ClientImpl) GetSubnetById ¶
GetSubnetById retrieves a subnet given that subnet's Id.
Click to show internal directories.
Click to hide internal directories.